Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is SHIFT pressed?
Message
De
23/01/2004 08:02:32
 
 
À
23/01/2004 07:56:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00869804
Message ID:
00869815
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Hi Anton

Maybe THREAD# 715266 is something for you?

>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform