>>> NumberOfElements will not change the fact that seven lines are displayed
>>> when the combo is dropped down.
>>
>>The above is indeed correct, just to bring closure to this thread. I am
>>resigned to the fact that 7 and only 7 items will display when the box is
>>dropped down, and that I have no control over this behavior. Surprising, but
>>apparently true... Thanks to all for your help.
>
>Don't close too fast... There is no limit in cheating users: what about bringing up (from Combo.DropDown event) separate listbox (instead of list portion of combo) with appropriated number of visible items (appropriate Height property), and returning value to Combo from List.LostFocus where you also hide Listbox itself.
Agree. We built a 'variable combo' class just this way to handle the case where the user wants to see more than seven (usually the lists would be 8-12 long and the 7 limit was anoying). Since the listbox will scroll if list is larger than available space the your just thinks it is a way cool combo.
Gary
Gary
Helping Make Ideas Reality