Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

What I don't know keeps me excited...
Posted

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

What I don't know keeps me excited...
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...