Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi Select Grid
Message
De
10/10/1997 16:34:36
 
 
À
10/10/1997 15:37:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00054085
Message ID:
00054099
Vues:
27
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform