Subject Re: [IBO] TIB_LookupCombo: Indicating search is fail in incremental searching m
Author mmenaz
Geoff, instead of a event OnNotInList, what about an event that fires
every time a locate is tried, with a flag indicating if successful or
not? This could be more effective and usefull, don't you think?
I could have a IB_Text with additional lookup info on the right of the
lookup contrl, changing it's color from normal to red depending from
the locate successfulness...
Thanks
Marco Menardi
btw, have you added to IBO the code that permits to change color of
the title of the grid column following the ordering item? I think it's
a really nice addition

--- In IBObjects@y..., Geoff Worboys (TeamIBO) <geoff@t...> wrote:
> > Is there a property/method to indicate failed search in
> > TIB_LookupCombo during incremental search.
>
> > TIB_LookupCombo.Text property is set to nearest value found even if
> > the search failed. I set TIB_LookupCombo.SearchKeyByKey to True and
> > TIB_LookupCombo.SeekNearest to False.
>
> Given that you already know about OnNotInList (I've seen you use
> it :-) I am not certain that I understand what you want.
>
> The .Text property is reflecting what has been typed. The .value is
> cleared after validation (nothing is actually assigned to any dataset
> column).
>
> What do you want to happen?
>
> --
> Geoff Worboys - TeamIBO
> Telesis Computing