Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids that work like listboxes
Message
From
05/01/1998 10:27:43
 
 
To
19/12/1997 21:54:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00067356
Message ID:
00069500
Views:
33
>Hi Erik
>
>Please, could you give me a brief explanation about how to construct grids that look and work like listboxes?
>
>Thanks
>
>Juan Carlos

Juan Carlos-
sorry for the long delay, I have been on vacation. If you are stil interested in the answer to your question...
You can play with the following properties to get the look you want, but the settings I use are:
columncount = 1
deletemark = .F.
gridlines = .F.
headerheight = 0
readonly = .T.
recordmark = .F.
scrollbars = 2 (vertical)
splitbar = .F.

Set your recordsource like you would for a listbox, and instead of the interactive change event and the value property, use the afterrowcolchange event and the value of the field that the grid column is bound to.

I hope this helps.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform