Adblock breaks this site

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.
  1. hampe-92

    hampe-92 Forum Addict

    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0
    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 :)
     
  2. Omni

    Omni Guest

    Referrals:
    0
    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.
     
  3. hampe-92

    hampe-92 Forum Addict

    Joined:
    Jul 10, 2008
    Posts:
    328
    Referrals:
    0
    Sythe Gold:
    0
    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 >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site