Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F10 key not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
F10 key not working
Miscellaneous
Thread ID:
00726405
Message ID:
00726405
Views:
28
Since forever, I've designated the F10 key as to abort all changes on a form. Now all of a sudden, it has no function at all(nkeycode being equal to -9) and I can't figure out what I did to cause this. my code in keypress was following

LPARAMETERS nKeyCode, nShiftAltCtrl
*do quickmsg with str(nkeycode)
*on key label F7 do quiktask
*on key label F11 do remarks2


ON KEY LABEL F1

if nkeycode=-9 && abort
*do quickmsg with 'F10'
release thisform
endi

if nkeycode=-4 &&F5 credcard
*ACTI SCREEN
do quikcred0
endi

if nkeycode=138 && cntl+F12
do credharry
endi

if nkeycode=-7
do form invoices
endi

if nkeycode=-6
do prntscrn
endi
if nkeycode=140 && alt+F12
do credharry && for harry only
endi

if nkeycode=-8
do mord0
endi

if nkeycode=27
thisform.txtremarks.setfocus
endi
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Next
Reply
Map
View

Click here to load this message in the networking platform