|
-
Nov 22nd, 2000, 10:34 AM
#1
Thread Starter
Member
I want the mask of the edit box to be up to "#######"
However, if the user only enters in two numbers, i only want it to be "##". This way, there are not extra spaces in the edit box. Does anyone know a quick solution on how i can create it dynamically.
I have been trying to create it on the key_press event of the edit box, but for some reason, its really not working like i want it. anyone, with any ideas would be helpful.
Thanks in advance
-
Nov 22nd, 2000, 10:59 AM
#2
PowerPoster
Im unsure what you mean.. did you try to set the "PasswordChar" property to '#' ?
-
Nov 22nd, 2000, 11:51 AM
#3
Thread Starter
Member
No, i'm using a mask edit box. I want to set the mask propety of the edit box to #. That way the user can only enter in numbers. If i specify it at design time, it has blank spaces in the edit box.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|