Results 1 to 3 of 3

Thread: mask edit box help!

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    32
    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

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    Im unsure what you mean.. did you try to set the "PasswordChar" property to '#' ?

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    32
    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
  •  



Click Here to Expand Forum to Full Width