Subject Re: [IBO] TIB_LookupEnh
Author Luiz
----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: "Luiz" <IBObjects@yahoogroups.com>
Sent: Tuesday, April 30, 2002 8:48 PM
Subject: Re: [IBO] TIB_LookupEnh


> Short answer is No, TIB_LookupEnh cannot work this way. LookupEnh is
> implemented quite differently to LookupCombo - specifically it is tied
> to the main dataset just like standard IB_Edit controls etc. This
> provides various advantages (such as the ability to disconnect from
> the lookup dataset to allow sharing), but it also means that it cannot
> operate without the main dataset.
Is there some possibility to add this characteristic in future? I don't know
how much difficult is it, but it will be perfect to substitute
tib_lookupcombo, since it have this problem with height of combobox.

> You could fudge a main dataset and tie the TIB_LookupEnh control to a
> parameter that does nothing on the main dataset (using the ParamName
> property). Thats about the only way I can think of achieving what you
> want using LookupEnh.
I think to be a big overhead have to add another tib_query only to emulate
the main dataset to achieve it.

Luiz.