Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Masked Edit Control
Message
 
To
20/07/2001 04:59:35
Pravin Soman
Acclaim Systems (India)
Mumbai, India
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00533020
Message ID:
00533524
Views:
10
>I am using a masked edit control, the max length property set is 15,
>but the mask is not allowed for more than 10 characters, if no
>mask is defined, then the max length property does not seem to work too.

The MaxLength property is set by the mask you use. You don't have to set this property. See this example:
Private Sub Command1_Click()
   MaskEdBox1.Mask = String(Val(Text1.Text), "&")
End Sub
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform