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.
Syncfusion Feedback

Wierd exception when calling SetAutoHideMode(ctrl, true)

Thread ID:

Created:

Updated:

Platform:

Replies:

8546 Nov 11,2003 05:01 AM Nov 11,2003 08:07 AM Windows Forms 1
loading
Tags: Tools
Udi Dahan
Asked On November 11, 2003 05:01 AM

Hello, I've come across an odd occurence. I am attempting to dock a control to the left, set its auto hide mode to true, and then hide it in one method call. Something like: dm.DockControl(ctrl, this, dockingStyle.Left, 150); dm.SetAutoHideMode(ctrl, true); dm.HideAutoHiddenControl(); Sometimes, the call to SetAutoHideMode fails giving me a NullReferenceException. I've mucked around the source and I've found that it fails in FormController.AdjustLayout(...) at step 3 when calling this.ctrlHost.Update(). I noticed that the x value of rcclip was -1 when this occured, if that's of any relevance. The truly odd thing about this is that all of a sudden this began occuring, one day everything's fine, the next, the exact same code starts acting up. Even more confusing, other calls to this code work just fine. Please HELP !

Administrator [Syncfusion]
Replied On November 11, 2003 08:07 AM

Hi Udi, I have tested for this issue in our latest release, but could not reproduce the error. Please let me know the version of Essential Suite, VS.NET and Operating systems that you are using so that we could investigate this matter. I have also conveyed the above information to the Development Team for their inputs on this issue. Thanks for your cooperation and sorry for the inconveniences caused. 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.

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

;