Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - Multiple Selects
Message
From
11/05/1998 13:44:27
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098532
Message ID:
00098535
Views:
22
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform