Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - Multiple Selects
Message
De
11/05/1998 13:44:27
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00098532
Message ID:
00098535
Vues:
23
>I am interested in making a grid act like a list box control. I want multiple fields in the grid as you can do in the list box, but I want the look and feel of the grid. Has anyone succedded in making a grid control like a list box where you select multiple rows and the color of the selected row(s) changes? I know with the grid's dynamic color propertly I can change the row color. How would I capture a mouse click and know which row I am on to change to color?

I have never tried this so I'm not sure if it will work, but how about something like this:

1. when the user clicks on a row, add the value of the activerow property to an array.

2. in the dynamicbackcolor property, change the color for any row whose value is in the array.
Ryan Hirschey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform