Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress Event - F1-12 keys
Message
De
31/01/2007 09:20:39
 
 
À
31/01/2007 08:51:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01190805
Message ID:
01190840
Vues:
22
>>>Hello,
>>>I have a form with KeyPreview = .t.
>>>
>>>I try to catch the funct keys F1.... F12 and combinations with SHIFT/ALT/CTRL
>>>
>>>1) F1 - event not fair
>>>2) F2 - event not fair
>>>3) F3 - event fair, SHIFT-F3 - same as SHIFT-v - not possible to recognize which combination pressed
>>>4) CTRL-F3 - not fair
>>>5) ALT-F3 - not fair
>>>
>>>The question:
>>>How can I use F keys in the KeyPress Event or Can I ?
>>>
>>>Thanks
>>>Denis
>>
>>You can specify a command for every Fx press by using ON KEY LABEL.
>
>Hello Edvard
>Yes. you are right.. but for OnKeyLabel I must to use global object variable to reference the method.. If no chance to use Keypress.. its ok.. I just looking for way to use keypress

Can you use ON KEY LABEL F1 KEYBOARD [some other key]? This way you will definitely get KeyPress execution.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform