Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is SHIFT pressed?
Message
De
23/01/2004 07:56:45
 
 
À
23/01/2004 07:14:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00869804
Message ID:
00869812
Vues:
13
Thanks. But this is not for me.
KeyPress event does not react on single Shift key and it is not fired until keystoke is released.

Now let me explain. I want to provide multi-selection functionality in grid, so user would be able to select multiple records with mouse or keyboard.
The most flexible solution is to read Shift key status to in the AfterRowColChange event handler to recognise that cursor movement was a selection (Like Shift+Click selects multiple files in explorer).
MouseDown event also does not help becouse it is fired after AfterRowColChange event.

API can help but it uses complex structures. I cannot find easy way to read Shift key status in API reference.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform