Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid - Multiple Selects
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098532
Message ID:
00098659
Views:
33
>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?

IMHO, the simpliest way to achieve a multi-select module using grid control is through SQL Views by adding extra field (LOGICAL) on it. This extra logical field then will serve as controlsource of an additional CheckBox control of the grid for selection purposes and at Click Event you now manipulate dynamic colors of the row.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform