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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SetControlSize() with a splitter

Thread ID:

Created:

Updated:

Platform:

Replies:

28120 Apr 25,2005 02:43 PM UTC Apr 26,2005 06:31 PM UTC WinForms 3
loading
Tags: Tools
Julien Goldberg
Asked On April 25, 2005 02:43 PM UTC

Hi. I''m trying to implement a spliter between two controls to hide/show the control on the right side. I''m using a DockingManager. When i click on the splitter i use the SetControlSize() method to resize the main control and to hide/show the control on the right side. It works finem, except if the control is tabbed, the SetControlSize do nothing. Thx for the help.

Administrator [Syncfusion]
Replied On April 25, 2005 06:18 PM UTC

Hi Julien, When you say "tabbed", are you referring to two controls being docked in the same place with a tab control to switch between them, or a control being unpinned and hidden on the side of the Form? Regards, Gregory Austin Syncfusion Inc.

Julien Goldberg
Replied On April 26, 2005 08:46 AM UTC

Hi, I''m referring to a control being unpinned and hidden on the side of the forms. thank you >Hi Julien, > > When you say "tabbed", are you referring to two controls being docked in the same place with a tab control to switch between them, or a control being unpinned and hidden on the side of the Form? > >Regards, >Gregory Austin >Syncfusion Inc.

Administrator [Syncfusion]
Replied On April 26, 2005 06:31 PM UTC

Hi Julien, This is a known bug with Docking Manager. It''s currently in our system as Defect #168. As a workaround, you can use the following algorithm to set the size of the control, however it will result in some flashing: if (this.dockingManager1.GetAutoHideMode(this.button1)) { this.dockingManager1.SetAutoHideMode(this.button1, false); this.dockingManager1.SetControlSize(this.button1, controlSize); this.dockingManager1.SetAutoHideMode(this.button1, true); } else { this.dockingManager1.SetControlSize(this.button1, controlSize); } Regards, Gregory Austin 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.

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

;