I am using VFP 6.0 and Windows 2000.
?inkey(0) in the command window returns -1
This code in the keypress event of a text box displays the wait window when I tap F2.
LPARAMETERS nKeyCode, nShiftAltCtrl
IF nKeyCode = -1
WAIT WINDOW NOWAIT "F2 key"
ENDIF
>How can trap the f2 key on the keypress event? I not get any value, on keypress f3 I get -3
Dennis Lindeman