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
Titre:
Detecting SHIFT or CTRL Key pressed
Divers
Thread ID:
00821373
Message ID:
00821373
Vues:
49
I have a grid where in two of the columns I set the DblClick() method of the contained TextBox to a custom method on the form, ThisForm.FieldMerge().

However I do not want the method to execute unless the user is holding down either the SHIFT or CTRL key, and depending on which of the two they are pressing while doubleclicking I want to do one of two CASE statements in my custom method.

How do I detect which key is "held down" at the time of the DoubleClick. I've read the INKEY(), Keypress, LASTKEY(), etc stuff, but I'm not understanding what is needed.

Thank you.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform