>>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
Thanks! I will look into that.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only