daniel87dec
Technical User
Hi!
I would like to know how to use a TextListener that would disable certain characters and check what the last entered character was to see which characters need to be disabled next.
Example: If the user is to enter a nubmer between 0 and 36, then the computer should disable all characters except for digits. When the computer gets the first digit, and that digit is 3, then the computer should disable 7, 8 and 0 so that the number does not exceed 36.
Thanks in advance.
I would like to know how to use a TextListener that would disable certain characters and check what the last entered character was to see which characters need to be disabled next.
Example: If the user is to enter a nubmer between 0 and 36, then the computer should disable all characters except for digits. When the computer gets the first digit, and that digit is 3, then the computer should disable 7, 8 and 0 so that the number does not exceed 36.
Thanks in advance.