Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shift-click and ctrl-click events in grid control
Message
From
27/10/1997 23:36:11
 
 
To
27/10/1997 14:32:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056851
Message ID:
00056933
Views:
30
Edward,

thanks for both of your replies. Actually had to code in both the keypress and mousedown events in order to accomplish a multi-select.

Unfortunatly i've run into a big problem. In order to use the dynamic* attributes for proper coloring of the columns' text controls i have to use a view with a "selected" field to track row status. The problem is now if I hold down either the up or down arrows i'll get a "file is in use" error on REPLACE ALL v_test.s WITH .F., then after LOCATEing the proper record to set am getting "record is in use by another user" on REPLACE v_test.s WITH .T.

There must be some buffering of keystrokes here? What do I do now?

Doesn't make a difference which BufferMode is used or whether Private DS.

I've spent ALL day on this and am getting NOWHERE fast.


>>i have a need for a multi-select GRID.
>>
>
>Sorry, I didn't pay attention enough making first reply. If you need to trap mouse clicks than you should utilize MouseDown events for all Grid.Column.Control. I think you could even create 'separate' column for interactive selecting.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform