I am not sure the NumericUpDown list is what I am looking for,
as what I have is a simple Textbox, and I just want to ensure that only
numbers are entered, (later they are picked up by a formula)
on further research i have found
TextBox1.Numeri c = true
for VB
so maybe there is an equivalent for VB .net?
Herfried K. Wagner [MVP] wrote:[color=blue]
> * rodger <pat@myisland.s pam> scripsit:
>[color=green]
>>how do I set a Textbox to only accept numerical values in vb .net[/color]
>
>
> Use a NumericUpDown control instead.
>[/color]
I am not sure the NumericUpDown list is what I am looking for,
as what I have is a simple Textbox, and I just want to ensure that only
numbers are entered, (later they are picked up by a formula)
on further research i have found
TextBox1.Numeri c = true
for VB
so maybe there is an equivalent for VB .net?
Herfried K. Wagner [MVP] wrote:[color=blue]
> * rodger <pat@myisland.s pam> scripsit:
>[color=green]
>>how do I set a Textbox to only accept numerical values in vb .net[/color]
>
>
> Use a NumericUpDown control instead.
>[/color]
"rodger" <pat@myisland.s pam> escribió en el mensaje news:Oz1r7UDqDH A.976@tk2msftng p13.phx.gbl...
| Hi all,
|
| how do I set a Textbox to only accept numerical values in vb .net
|
| many thanks
|
| rodger
|
Comment