Originally posted by: glugglug
If you mean backspace it's ascii code 8.
On a mac it's ascii code 127, and on PCs it sends ascii 0 followed by some other char (I forget what, shouldn't be too hard to make a test app...), but that has nothing to do with how you would read the key being pressed in a Windows GUI app. (VK_DELETE constant being passed in event message).
No telling what standard Java would use for this. I wouldn't be surprised if it varies depending on what host the JVM is running on.
Originally posted by: HJB417
hmm, sorry about that, my example should be using 127 instead of 27.
in java ascii value 8 is for delete key...so i think u can use it....I tried googling for it but couldn'tfind anything useful. This is for Java if it makes any difference..
TIA.
in java ascii value 8 is for delete key...so i think u can use it....
hey u r right.....nice to hear u.....but it can help to one who is searching for the sameIt's been 15 years since this question was asked and this thread created, and if he hasn't figured it out during that long period, he might want to stop messing with Java.![]()