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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Programatically set docked tab?

Thread ID:





18187 Aug 25,2004 03:34 PM UTC Aug 26,2004 04:25 PM UTC WinForms 3
Tags: Tools
Sean Greer
Asked On August 25, 2004 03:34 PM UTC

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 04:19 PM UTC

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 06:06 PM UTC

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 04:25 PM UTC

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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon