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

Parents
No Data
Reply
  • 5389
    Verified Answer
    posted

    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~

Children