Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is SHIFT pressed?
Message
From
23/01/2004 08:02:32
 
 
To
23/01/2004 07:56:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00869804
Message ID:
00869815
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform