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

Wierd exception when calling SetAutoHideMode(ctrl, true)

Thread ID:





8546 Nov 11,2003 10:01 AM UTC Nov 11,2003 01:07 PM UTC WinForms 1
Tags: Tools
Udi Dahan
Asked On November 11, 2003 10:01 AM UTC

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 01:07 PM UTC

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.


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