Subject RE: [IBO] TIB_LookUpCombo dropdown question
Author Alan McDonald
Queck,
set teh query fields to visible false for all fields you don't want to see -
just like doing it for a grid
Alan

> -----Original Message-----
> From: Queck Rainer [mailto:Rainer.Queck@...]
> Sent: Tuesday, 13 May 2003 10:08 PM
> To: IBObjects@yahoogroups.com
> Subject: AW: [IBO] TIB_LookUpCombo dropdown question
>
>
> Hello Paul,
>
> thanks for your efforts.
>
> >Is there also a horizontal scrollbar?
> Yes, I have a horizonalt scrollbar, and setting the with solved
> that problem, but I had to move the TIB_LookupCombo to the very
> left and now my app doesn't look as nice any more.
>
> Is there a way to have only one Field shown in the dropdown list
> (even if the related query has a "select *") ? That would solve
> my problem too.
>
> Regards
> Rainer
>
>
> -----Ursprüngliche Nachricht-----
> Von: Paul Vinkenoog [mailto:paul@...]
> Gesendet: Dienstag, 13. Mai 2003 13:58
> An: IBObjects@yahoogroups.com
> Betreff: Re: [IBO] TIB_LookUpCombo dropdown question
>
>
> 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
>
>
>
> Yahoo! Groups Sponsor
>
<http://rd.yahoo.com/M=251812.3170658.4537139.1261774/D=egroupweb/S=17050071
83:HM/A=1564416/R=0/*http://www.netflix.com/Default?mqso=60164797&partid=317
0658>

<http://us.adserver.yahoo.com/l?M=251812.3170658.4537139.1261774/D=egroupmai
l/S=:HM/A=1564416/rand=196818896>

___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]



___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/