Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F10 key not working
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00726405
Message ID:
00726451
Views:
13
I probably should stay away, but is there some way to restore what I had working since it worked well and all are familiar with that key. Does it have soemthing to do with 'set compatible'
?
>Try to stay away from F1 and F10 for special tasks in the program. F1 is always Help key, F10 I believe is used by VFP internally...
>
>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform