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
60
Adding MDI tab without activating?
posted

I am also using the UltraDockMgr, so perhaps this is an interaction of the two, but when I add a new pane to the dockmgr and set IsMdiChild = true, then it automatically becomes the active tab in the mdi manager. I don't want this, so I often set back the active tab after creating new tabs, however this sometimes fails, or leaves the UI in a half state where one of the two tabs may look visually selected, and the other is actually visible. One way to reproduce this is by setting Enabled = false on the form (and dock/mdi mgr) then adding views and trying to fixup afterwards. Result will be an in between state.

 Suggestions? Ideally I really just want to be able to add forms without activating, but further workarounds would be useful as well. Once I'm in the bad state, no calls on ultradockmgr or mdi mgr seem to fix it (begin/end update, stop/resume layout, repeatedly set the active tab, or event call activate on the mdi child that should be visible).

 Thanks,

Patrick

Parents
No Data
Reply Children
No Data