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 14:16:30
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00056851
Message ID:
00056852
Views:
26
>i have a need for a multi-select GRID.
>
>how do you trap a shift-click or ctrl-click for this control.
>
>i've set up event tracking in the debugger and don't see where the code would go.
>
>I've looked at the listbox and the multi-select property, but this control fails my needs on several points:
> - no column headers
> - no horizontal scrollbar
> - my existing app uses grids and to switch from grid to listbox is too much
>
>thanks,kim

Use Form.KeyPress.Event (having Form.KeyPreview=.t.).
IF This.ActiveControl.Name="Grid1"
*** add code here
Endif
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform