Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trap Ctrl+I
Message
 
 
À
11/11/2010 15:01:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01488847
Message ID:
01488848
Vues:
59
You can try ON KEY LABEL

>
>I would like to trap the Keycombination Ctrl+I and have therefore set in myForm.KeyPreview = .T. and in the txtBox where I would like to act on this action I have in KeyPress
>
>Lparameters nKeyCode, nShiftAltCtrl
>
>DO case
>CASE nKeyCode = 9 And nShiftAltCtrl = 2 
>do mySomething
>ENDCASE
>
>
>Ctrl+I is never caught consequently mySomething is never executed. Ctrl+I are not the only combinations not recognized, others like Ctrl+A also however Ctrl+K shows correctly nKeyCode = 11.
>
>Anyubody who could give me a clue how to trap Ctrl+I in mytxtbox?
>
>Regards,
>
>Koen
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform