text box issues

gjoisa

Active Member
Licensed User
Longtime User
Hi,
how to restrict the textbox input value to numeric and input string length ? :sign0085:
 

Cableguy

Expert
Licensed User
Longtime User
Simpler way is to check if the string is made only of numbers, and to check the lenght of the entered string...
But that is only done on the text changed event...
To restrick the input itself, I guess some workaround is possible, but a custom DLL would be more eficient...
 

gjoisa

Active Member
Licensed User
Longtime User
it can not solve my problem . Previously i had devoloped a program for palm . There is such facility , we can restrict the input to numeric and string length .
 

Cableguy

Expert
Licensed User
Longtime User
I will try to make a simple dll... Any more desires, text box wise?

Forgot to ask, are targeting the device, the desktop, or both?
 

Rioven

Active Member
Licensed User
Longtime User

Cableguy

Expert
Licensed User
Longtime User
I was almost sure that the wheel had already been invented....But still I was going for it...
Now I see there's no need...

Have fun gjoisa
 

gjoisa

Active Member
Licensed User
Longtime User
Thank you Specci48 and CableGuy . Very good solution . It solved my problem . Thank you again for your timely response .:sign0098:
 
Top