Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1878
Position two Toolbars in Designer
posted

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