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
603
Placing toolbars side by side
posted

I have 3 forms in my application - 1 MDIparent and 2 MDIchild, each has its own toolbarmanager.

When the first MDIchild is active both its toolbar and the MDIparent's toolbar should be visible. When the second MDIchild is active, only its toolbar should be visible. However when switching back and forth from the first MDIchild to the second MDIchild, I find that the toolbar of the first MDIchild is repositioning itself below the MDIparent's toolbar taking up valuable space. The two should be side by side and not one on top of the other and it seems the application is doing it automatically when the Visible property is being toggled.

Any suggestion on how I can work around this problem? TIA.

Parents
No Data
Reply
  • 44743
    posted

    This sounds like a bug. I would recommend submitting the issue to the support group: http://ko.infragistics.com/gethelp. As a workaround, you can try to reposition the merged toolbar created for the child in the parent by settings its DockedRow to 0. You will probably want to do this right after the first mdi child is merged, so override OnMdiChildActivate in the parent Form, call the base implementation first, then reposition the toolbar.

Children
No Data