Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Creation of a Masked Edit Box

Status
Not open for further replies.

xterra4me

Programmer
Jun 14, 2001
2
US
Hi,

I am trying to dynamically create controls at runtime on a form. I have created texboxes and such by adding the vb.textbox to the control array on the form. My problem is that I need to create a masked edit box but don't know what to use for the control name. I have tried vb.maskededit and other things but no success so far. Does anyone have any suggestions?

Thank you,

Adam
 
Nevermind I figured it out. Just in case anyone wants to know you can use the object browser (F2) and find the object which tells you the class it belongs to. it is MSMask.MaskEdBox.

Thanks anyways,

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top