FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WINDEV (current version), in English
How do you know witch key was pressed
Dec., 17th 2009 at 11:48 PM
John Marrone
<gu...st@news.pcsoft.fr>


Hi
I would like to know in a keyup event which key was pressed. KeyPressed will let you check for the key you pass it, but I want to know what key was pressed no matter which one it is. I don't know before hand and I need to know and I can't check for 256 different keys with a keypressed function. I know there has got to be a function that will tell you what key was just pressed. Thanks for any help.


Replies to this message:
Re: How do you know witch key was pressed
Harry thank you so much. I never would of figured it out.
From John Marrone - Dec., 19th 2009 - More »
Re: How do you know witch key was pressed
Hi, Try, Place the next code in the initialization of your project Event(KEYHIT,"*.*",256) Every time you hit a key it runs the procedure KEYHIT Procedure KEYHIT() message(timesys()+"Key:"+_EVE.wParam ...
From Harry Wubbels - Dec., 19th 2009 - More »
Re: How do you know witch key was pressed
Hi, Try, Place the next code in the initialization of your project Event(KEYHIT,"*.*",256) Every you hit a key it runs the procedure KEYHIT Procedure KEYHIT() message(timesys()+"Key:"+_EVE.wParam) [[5 ...
From Harry Wubbels - Dec., 19th 2009 - More »