Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to trap Shift+Click in Grid with AllowCellSelection
Message
From
13/07/2011 05:07:56
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01518016
Message ID:
01518041
Views:
124
Naomi,

I checked out Cetin's multiselect grid class. AllowCellSelection is True. I want this to be False for the listbox effect of it.

Dennis


>>Hi Naomi,
>>
>>Thanks. Any idea how he did it?
>>
>>Dennis
>>
>
>I believe my implementing code in KeyPress of the textbox. Have you downloaded the class and examined the code?
>
>>
>>>>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
>>>
>>>Check 2 grid classes in Downloads section here by Cetin Basoz.
>>>
>>>See also Re: Mover Tool ? Thread #1400613
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform