Subject Re: [IBO] Re: TIB_ComboBox and incremental searching
Author Helen Borrie
At 11:26 AM 01-10-01 +0000, you wrote:
> > >Is it possible to make TIB_ComboBox to use incremental search
>ability?
> > >
> > >Here are some details:
> > >I have a table with a few fields, one of them is day of week. It
>can
> > >have values from 1 to 7. To edit this field I use TIB_ComboBox
>where
> > >Items = ('Monday'..'Sunday') and ItemValues = (1..7). That's all.
>And
> > >here is my question.
> >
> > John,
> > I don't understand what you are looking for here...are you perhaps
>wanting to have the user type in 'Mo' and have 'Monday' appear in the
>editbox portion?
>
>Exactly. But it seems that TIB_ComboBox cannot perform such search.
>But maybe I am wrong?

Yes. :) The drop-down list is populated by a TIB_BDataset and it is a TIB_Grid. So set up the properties you want in the OrderingLinks/SearchingLinks just as you do in a regular IB_Grid.

cheers,
Helen

All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________