>>>>>>I know, but I want a combobox - not enough space for the listbox.
>>>>>
>>>>>There is something like MouseEnter/MouseLeave where you can expand (change the height) the list /set the height back ?
>>>>
>>>>That's an interesting idea. Let me review the class I found and may be I can use auto-expanded ListBox idea if that class would not work for me.
>>>
>>>I just tried it - looks sexy - and what is more if you forgot the choice(s) you can mouve the mouse over it
>>
>> Can you please send the test form to my gmail then?
>>
>>I was fiddling with the table/view structure changes - haven't yet looked into the class.
>
>
>
>There's not a lot to send
>
>
>(1) having set the rowsource and rowsource type
>
>(2) having set multiselect = .t.
>
>(3) MouseLeave
>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>this.Height = 24
>
>(4) MouseEnter
>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>this.height = this.Parent.Height - this.Top
>
I think it should also show the first item selected when not expanded.
If it's not broken, fix it until it is.
My Blog