sethindeed Posted February 25, 2003 Posted February 25, 2003 Hey it's me again ;) I am trying to declare a class that acts as a maskededit control. Here is what I have done so far : Public Class MyMaskedEdit Inherits MSMask.MaskEdClass End Class Doing so, I am unable to access most of the maskededit properties (Left.Top, BackColor ... ). When declaring classes for common controls, I am using the following inheritance structure : Inherits System.Windows.Forms.TextBox ...but I just can't find the maskededit control in the forms collection. Anybody has experienced the same kind of problems before ? thx Quote What I don't know keeps me excited...
*Gurus* divil Posted February 25, 2003 *Gurus* Posted February 25, 2003 The Masked Edit control is not a .NET component. You can't inherit from it. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
sethindeed Posted February 25, 2003 Author Posted February 25, 2003 OK then is there a way to build an array of masked edit controls that I will be able to load dynamically on one of my forms ( because control arrays are gone for good ) ? Are you sure I can't build a class for masked edit controls or any added COM ressources ? And are you sure an added COM can't inherits from something else than Windows.Forms ? I have some difficulties to understand this limitation.... Quote What I don't know keeps me excited...
Recommended Posts