We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Programatically set docked tab?

Thread ID:

Created:

Updated:

Platform:

Replies:

18187 Aug 25,2004 11:34 AM Aug 26,2004 12:25 PM Windows Forms 3
loading
Tags: Tools
Sean Greer
Asked On August 25, 2004 11:34 AM

I have two controls (A and B) docked on the same edge and both are set to auto-hide on load. I want A''s tab to be in the foreground but my form loads with B in the foreground. How can I programatically tell the DockingManager to move A to the foreground? Thanks, Sean

Administrator [Syncfusion]
Replied On August 25, 2004 12:19 PM

Hi Sean, Handle the DockingManager''s NewDockStateEndLoad event as shown below for this purpose : private void dockingManager1_NewDockStateEndLoad(object sender, System.EventArgs e) { this.dockingManager1.HideAutoHiddenControl(); this.dockingManager1.ActivateControl(this.panel1); } Please refer to the test sample that illustrates this and let me know if this works for you. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Sean Greer
Replied On August 25, 2004 02:06 PM

Well, that works as far as setting tab order but I''d really like to avoid having the control be activated. With the code as you sent it the docked control shows briefly and then closes; I want to avoid that. Can this be done? Sean

Administrator [Syncfusion]
Replied On August 26, 2004 12:25 PM

Hi Sean, Thanks for the update. I have created an incident in Direct-Trac #13238 in this regard, and updated you there. Please refer to my response and provide me the requested information. In future, please address all your concerns through Direct-Trac as far as possible. Thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;