Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use F1 to F10 as hot-key in my program?
Message
 
À
14/02/1999 10:17:03
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00187035
Message ID:
00187578
Vues:
16
>Funny thing I've noticed on this thread, I could never get my ON KEY LABEL F10 to do anything. It seemed that either VFP or Win95 had so completely taken over the key that I couldn't misuse it no matter how determined I was. Not that I would try now, but did I miss something?

I dunno if you missed something or not. I'm not at that computer right now, but I'd swear that when I used OKL's in VFP5.0 to simulate the F1-F10 keys from the old DOS app I was re-creating, everything worked as I expected. Then I figured out that I should be using the form's KeyPress event and KeyPreview property instead of OKLs. I switched to that, and it refused to intercept the F10 key. That's my memory of the situation. But I've been known to misremember things. I think it was one time, but I don't remember for sure. :) :)

Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform