Subject Re: [IBO] TIB_LookUpCombo dropdown question
Author Paul Vinkenoog
Hi all,

[Rainer:]
>> I have set the TIB_LookUpCombo.DropDownCount to 7. I have two
>> records in the related Table. Still, the first time I "drop down" I
>> only see the first record and scrollbars. Using the scrollbars, to
>> scroll down I can select the other record. The next time I drop
>> down , it show me both records.

[Florian:]
> I had the exact same problem and wasn't able to resolve it. However,
> what I found out is, that the effect only shows when there are only
> a few records in the table. E.g. I only had 2 records in the table,
> when dropping down the combo for the first time, it only displayed 1
> record and the scrollbars. When I had 3 records, it displayed 2
> lines and the scrollbars and so on.

I've just played around a bit with this, and everything works as it
should, even if I prune the lookup dataset down to 1 record.

But especially what Florian said about there being 1 item to few set
me on a track. Is there also a horizontal scrollbar? I had this
problem half a year ago: the drop down list was too narrow for the
data, so a horizontal scrollbar was automatically added. This reduces
the vertical space by roughly 1 item.

Of course the control "should" then just grow vertically so the
correct number of items is displayed, but it doesn't.

If this is your case, the immediate solution is to set DropDownWidth
as wide as necessary.

OTOH, the control doesn't work as it should in this respect, so maybe
Jason should look into this after all.


Greetings,
Paul Vinkenoog