Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to trap Shift+Click in Grid with AllowCellSelection=.F
Message
From
12/07/2011 19:13:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Need to trap Shift+Click in Grid with AllowCellSelection=.F
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01518016
Message ID:
01518016
Views:
127
Hi Experts,

I am making a grid class with AllowCellSelection = .F. to mimic a Listbox. The first column is always a checkbox for tagging purposes.

I would like for it to have a 'multiselect' ability akin to listboxes, where user can click on the checkbox on say row 5, proceed to row 17, and press Shift + Mouse Click, and will result it in all rows from 5 to 17 to appear ticked.

Any way to trap Shift+Click? Or perhaps any other elegant suggestions in lieu of this?

Thanks in Advance,
Dennis
Next
Reply
Map
View

Click here to load this message in the networking platform