Hi,
I've an UltraToolbarsManager containing two Toolbars that I want to have positioned into one row floating one after the other. There is enough width in the form so that both toolbars containing all their belonging tools fit into that. When I have that form in the Visual Studio Designer those two toolbars don't fit into because both display 'Insert New Tool' which takes too much space so the toolbars are divided into two rows. When I deselect 'In Place Designer' in the context menu of the Toolbar Manager the 'Insert New Tool' disappears but then I cannot move the toolbars. When I set DockedColumn and DockedRow properties in Designer the two toolbars only swap the rows. As a workaround I set those properties in the OnLoad event handler of the form which works fine but it makes positioning of other controls on the form clumsy since the height of the toolbars in the designer is not the same as during runtime since in first case it needs two rows whereas in second case only one row is needed.
Any ideas?
Kind regards, Wolfgang
Hi Kim,
thanks for the answer. It took me a while to find out what you meant by float the toolbars. What I did is to change the DockedPosition of both toolbars to 'Floating'. I didn't turn off 'In Place Designer' but dragged the toolbars to their position and finally set Floating Location and Floating Size to 0. That works fine for me but if there is a nicer solution in future I'll be happy :-)
Wolfgang,
The catch right now with turning off "In Place Designer" is that if the toolbars are docked they cannot be moved (as you have already noticed). What you can do to work around this is to first float the 2 toolbars in question, then turn off "In Place Designer," then drag each toolbar to its desired location, making sure to do it in a single drag for each toolbar (since as soon as a toolbar is docked, you can't move it).
I will create a support case for this and log this issue for Development to take a look at. You'll get an email when the case is created.
Hope this helps,
~Kim~