Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi Select Grid
Message
From
10/10/1997 16:34:36
 
 
To
10/10/1997 15:37:45
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00054085
Message ID:
00054099
Views:
22
>I need a multiselect grid class. Does anyone know where to get one or know how to begin writing one? I thought about storing record numbers in an array to use with a dynamicbackcolor. I am havin trouble getting started with detecting keys in the grid class. I want to keep all of the code in the grid, none in the columns. I don't see any way to detect a Shift+DownArrow, Shift+UpArrow ... etc.

You can catch them in Form.Keypress event (having Form.KeyPreview=.T.):
if this.activecontrol.name<>"Grid1"
return
endif
DO CASE
CASE nKeyCode=...
CASE nKeyCode=...
ENDCASE
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform