Subject | Re: [IBO] DisableInterface does not disable IB_LookupCombo |
---|---|
Author | Geoff Worboys |
Post date | 2002-02-23T01:12:05Z |
> DisableInterface seems what I'm looking for, since it freezes onlyNeither.
> the visual components display. Yas, all TIB_Edit, but not
> IB_LookupCombo! When my program scans all the dataset preparing the
> report, the current record shown is still except the LookupCombos!
> Not very nice to see... it seems that the actual record is having
> those values in the lookup changed.
> Is it a bug or something wrong with my setup?
LookupCombo is NOT connected to the main dataset datasource. It is
connected only to the lookup dataset.
The lookup dataset is connected to the main dataset datasource - as a
relationship link not a visual control link. As such it will be
notified of the main dataset scrolling - just like master detail
relationships are. (And this can be important in report situations).
To achieve the effect you are looking for, try ALSO calling
DisableInterface on the lookup datasource (to stop it from notifying
the lookup control - just as you would need to do for all the detail
datasources etc).
hth
--
Geoff Worboys
Telesis Computing