>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement