In your override of OnParentChanged are you calling base.OnParentChanged(e)?
Greg -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Sébastien Lorion Sent: Tuesday, May 08, 2007 10:27 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Problem deriving from a standard control Hello, I derived from System.Windows.Forms.Button and added a couple of properties and overrided a single method, OnParentChanged, in order to reset one property. For an unknown reason, the control does not render correctly on the form. The control is there (I can see the dashed outline), but I cannot interact with it unless I select it with the help of the control dropdownlist in the property toolbar. Even worse, I also cannot see it at runtime ?! I tried adding base class attributes to my control, but it changes nothing. If I only derive and do nothing else, then it works as expected. I fail to see what can cause the problem I am seeing. Anybody could help me there ? ... -- Sébastien www.sebastienlorion.com