how can I block input in a textbox that is not digits or a dot?

Discussion in 'Programming General' started by hampe-92, Oct 21, 2008.

Thread Status:
Not open for further replies.
how can I block input in a textbox that is not digits or a dot?
  1. Unread #1 - Oct 21, 2008 at 5:01 PM
  2. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    how can I block input in a textbox that is not digits or a dot?

    Hi guys, long time no see :)
    I'm working on a little project and I want the user to write numbers in a textbox but I want to block anything else than digits and a dot ( . ) how could I do that?
    thx in advance :)
     
  3. Unread #2 - Oct 25, 2008 at 10:37 AM
  4. Omni
    Referrals:
    0

    Omni Guest

    how can I block input in a textbox that is not digits or a dot?

    Use a Masked Textbox. Look in the Tool box. Then change the format (i think thats the property?) to zip code or whatever.
     
  5. Unread #3 - Oct 27, 2008 at 5:07 AM
  6. hampe-92
    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0

    hampe-92 Forum Addict

    how can I block input in a textbox that is not digits or a dot?

    ahh smart one ;)
    thx :)
     
< visual basic: auto spammer | I need help with the program I'm making >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site