is there a basic way of counting the number of characters entered by user.
Say a user enters 1234. The number of characters read is suppose to be 4. I'm looking for a simple solution to this. [sig][/sig]
I doubt there is anything simplier then len(). What do you need that len() will not work for you? [sig]<p>David Paulson<br><a href=mailto: > </a><br><a href= > </a><br> [/sig]
[Just had mystical vision that OP is using QBasic rather than VISUAL Basic] [sig]<p>Russ<br><a href=mailto:bobbitts@hotmail.com>bobbitts@hotmail.com</a><br><a href=
One might count the keystrokes in the textbox KeyPress event but one would have to add extra code to filter out the backspace and tab keys and all the other keys that don't contribute to the length of a string in a text box.
May I ask what prompts the question?
[sig]<p> <br><a href=mailto: > </a><br><a href=
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.