Re: On Label Key by Carsten
Carsten
Tue Jun 22 00:46:30 CDT 2004
Scott,
instead of OKL's, try using the KeyPress-Event the form got.
Set the formproperty KeyPreview= .T.
Now put something like this in the Keypress-Event:
<snip>
LPARAMETERS nKeyCode, nShiftAltCtrl
MessageBox( Transform( nKeyCode ))
Note: If "+" is hit, do nothing.
IF nKeyCode == 43 THEN
NODEFAULT
ENDIF
<snip>
Cheers
Carsten
"Scott Cadreau" <scadreau@aros.net> schrieb im Newsbeitrag
news:WuednTvQHu51XkrdRVn-hg@aros.net...
> I need to create "Hotkeys" with "+" and "-" in my application. Is there a
> way to do this? They are not options in the On Key Label command.
>
>
> Thanks,
>
> Scott
>
>