>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