-
November 5th, 2003, 07:01 AM
#1
I don't know this function
Which is the function that allows me to check from code if the content of an edit text -on a dialog box- has only numbers?
-
November 5th, 2003, 07:12 AM
#2
There is no direct way. One solution is to fetch the string and check each character with isdigit().
-
November 5th, 2003, 07:29 AM
#3
There is an alternative if your edit box has the "only numbers" style. This way you don't need any fuction because only positive integer numbers can be entered.
-
November 5th, 2003, 07:30 AM
#4
Originally posted by Doctor Luz
There is an alternative if your edit box has the "only numbers" style. This way you don't need any fuction because only positive integer numbers can be entered.
Yup, but that is rather enforcing than testing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|