Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
F10 key not working
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
F10 key not working
Divers
Thread ID:
00726405
Message ID:
00726405
Vues:
29
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."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform