Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Setup a Listbox in a Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00916064
Message ID:
00916101
Views:
11
Ahh a light finally went on. I was assuming that you were talking about a combobox control. If you use a listbox control in a grid you will have to make the grid's row heaight big enough to accomodate the number of elements in the listbox. I don't think you can change the row heaight for only the current row in a grid.

Einar

>By adjusting the rowheight to let's say 40 - 2 elements are displayed which is not really the effect that I want.
>Ideally, I would like the list box to 'open up' like a combo box when it gets the focus/clicked but without the bugs that I are inherent in grids in VFP in versions 8 and less.
>Do you know of any samples here (or anywhere else) that have list boxes in grids that I can check out?
>
>TIA.
>
>
>>You probably want to set the column's sparse property to false.
>>Is there only one element in the listbox control or is there only one listbox showing in the grid column?
>>
>>Einar
>>
>>>Is the height of a listbox in a grid determined by the height of the individual rows?
>>>The listbox that I just added to my grid is only display 1 element.
>>>I have set the columns current control to the listbox.
>>>
>>>TIA.
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform