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
885
How do we open a DockableControlPane
posted

Hi,

    I have some six to seven dockable control panes in my form. And I have created six to seven menuitems in form to show this forms.

Initially I show up all my dockable control panes. If I close any dockable control pane by using X (close), I should reopen it through the menu item. The event handler for this menuitem is having this piece of code.

if (this.myComp1DockableControlPane.Closed) {
                this.myComp1DockableControlPane.Show();
            }
            else {
                this.myComp1DockableControlPane.Activate();
            }

However I am not able to bring back my dockablecontrol pane with the above code: Also I found that the closed property of the dockable control pane results to false. Can anyone tell me where I am doing wrong.

 

Thanks,

Sanjeev.