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
175
Problem Displaying correct toolbar when merging.
posted

OK here's the situation:

I'm using the merge feature.  I open a MDI child form where the child form has 4 toolbars.  Initially I want to show only one toolbar that's associated to several tabs on the form.   This all works as I would expect.

In the selected tab change event I hide and unhide the toolbars as needed.  The problem happens when I close the form when the non-default toolbar is displayed.  When the form is re-opened with the same or different data the non-default toolbar shows up on the main tab even though I preset the form on initialization to set the visible property of that toolbar to false and the visible property of the default toolbar to true.

And it ignores changing the toolbars based on selected tab change until I select the tab that makes that non-default toolbar visible.  After that the toolbars show and hide correctly.

I've tried RefreshMerge on both the parent and the child toolbarmanager with no luck.  Is there something I'm missing?