English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

anybody can give an example, a very simple sample
i really nead it now

2007-03-21 16:36:33 · 1 answers · asked by student programmer 1 in Computers & Internet Programming & Design

1 answers

By default the text property of a textbox is a string. What you mean is that you wish to exclude all characters which are not numeric..

You can do this several ways in code.

1.) Use the validating & validated events to test the textbox string using the intrinsic function IsNumeric

2.) Test each key press as it is entered into a text box. and accept only numeric keys and cancel all other keypresses

2007-03-22 02:05:20 · answer #1 · answered by MarkG 7 · 0 0

fedest.com, questions and answers