Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting SHIFT or CTRL Key pressed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00821373
Message ID:
00821664
Vues:
25
Elgin,

The event tracing in the debugger shows that textbox DblClick event isn't fired when SHIFT key is pressed.

>Sergey,
>
>Thanks for your suggestion. As usual it was a big help. I've learned alot about the GetKeyState function. However I can't get the state of the Shift Key. As a test, I placed the sample code from the message #12649 in my FieldMerge() method. I then called the FieldMerge() method from the DblClick method of my TextBoxes in a couple of columns in a Grid. Both the CTRL and ALT lines work fine. When I hold down the CTRL key and doubleclick the textbox the message appears as it should. But when I try to do that with the SHIFT key nothing happens.
>
>Is SHIFT reserved in some way in VFP? I really want to use the CTRL and SHIFT keys for this function.
>
>Thanks again.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform