Hi Sébastien, Since you didn't provide the code for not any of the referenced types, I've assumed it was irrilevant to the issue. However, the class which I came up after removing all of the "extraneous" code doesn't allow me to reproduce the issue... I can see the button!
Could you show us some more code? HTH -- Efran Cobisi http://www.cobisi.com Sébastien Lorion wrote:
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 ?
=================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com