EZCheeZe Posted January 26, 2003 Posted January 26, 2003 Is there a way to make a text box only have numbers in it? Or if thats not possible, is there a way of determining if it is all numbers or not? Quote
Moderators Robby Posted January 26, 2003 Moderators Posted January 26, 2003 you can use this in the KeyPress event... If Not e.KeyChar.IsDigit(e.KeyChar) Then and this in the Validating event (in case they paste some text) If Not IsNumeric(textbox1.Text) Then Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.