Welcome! Log In Create A New Profile

Advanced

ShortCut Key- Enter

Posted by Paul Ziegler 
Paul Ziegler
ShortCut Key- Enter
April 16, 2009 12:59AM
I want to be able to assign the numeric keypad "Enter" key as a shortcut to a button.
The shortcut options only have Enter and it doesn't distinguish between the Enter (Return) key and the Numeric Keypad Enter key.

I looked at the KeyPressed command and opened the KeyConst.wl file and only saw the VK_RETURN. There wasn't one specifically for the Numeric Keypad Enter key.

In my Project Initialization Code I put: However the VK_Return is flagged by the compiler.

EXTERN "WinConst.WL"

IF KeyPressed(VK_RETURN) THEN //I just put this in to see if it would work

END

Anyway I can trap the Numeric Keypad Enter key?

Thanks for ideas.

Paul Ziegler
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: