Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi Select Grid
Message
De
10/10/1997 16:41:54
 
 
À
10/10/1997 16:34:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00054085
Message ID:
00054104
Vues:
28
>>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
Fil
Voir

Click here to load this message in the networking platform