This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Joined: Nov 03, 2003
just to test if a decimal key has been entered. I guess now I have to find a way to count the number of keys pressed. Once it hits the count to 2 I have to find way to disallow the user to enter any more digits.
Would you know that can be done? Or there are much simpler way to achieve this?
Thanks once again.
Joined: Nov 08, 2001
why read the keystrokes? You can read the textbox value and determine what is happening.