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
2387
Controlling which pane is active
posted

I have a DockAreaPane that has two different pane's in it.  When the application starts one pane should be active.  Events in the system should switch the pane to the other panel.  How is this done programmatically?

Sam

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    Sam,

    In order to activate a particular DockableControlPane, you will first need to get a reference to it (the easiest way to do this is to use the UltraDockManager's PaneFromControl() method), and then call its Activate() method.  For example:

                DockableControlPane dcp = this.ultraDockManager1.PaneFromControl(this.ultraButton2);
                dcp.Activate();

    ~Kim~

Children
No Data