Hello All,
If I want to check keyascii value of Tabkey, upkey & downkey then how can check it on lostfocus event ? :confused:
Printable View
Hello All,
If I want to check keyascii value of Tabkey, upkey & downkey then how can check it on lostfocus event ? :confused:
I don't know. But the "validate" event was designed specificly for tabbing out of a field.
these keys do not have any ASCII value. are you looking for KeyCode values?Quote:
Originally Posted by shirishdawane
This can be down using the
"getkeystate" API.
if you do a quick search on these forums for "getkeystate" you should find somethign useful,
i would help further but i aint at my own pc.
rob
makster246,Quote:
Originally Posted by makster246
getkeystate API specifies if the key is up, down, or if toggled on/off.
Quote:
Originally Posted by Allapi.net
dear shirishdawane
you can check keycode of all those key since they don't have keyAscii value.
key value key code
TAB 9
up key 38
down key 40
left key 37
right key 38
u'll have to store those values at keydown event and then check it on lost focus event.
Thank n Regards
Uttam Kumar
__________________________________
be the best,help other to be the best