Subject Re: [IBO] Latest Release
Author Paul Gallagher
That worked. Sort of....

At first it did not. So I commented out the IFDEF's. and rebuilt the
package. Then it worked. So I then uncommented out the IFDEF's, and rebuilt,
and it still worked.

Paul

----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, February 08, 2001 7:52 PM
Subject: Re: [IBO] Latest Release


> > The AutoLabel property does not seem to work properly on
> > LookupCombo's. It displays the field name in all cap's,
> > but will not display the displaylabel when the dataset
> > is prepared.
>
> I wondered about LookupCombos. I guess the first question is; Is it
> selecting the column that you expect it to? (Is the fieldname shown
> the one you want to have displayed?)
>
> The problem was that LookupCombo does not use the generic StateChanged
> processing of other controls, so it is missing this event and not
> updating. procedure TIB_CustomCombo.SysStateChanged; needs updating
> to include:
>
> {$IFNDEF VER90}
> {$IFDEF IB_AutoLabel}
> RemakeAutoLabel;
> {$ENDIF}
> {$ENDIF}
>
> just before the call SysDataChange( nil );
>
> Paul could you try making this change (inside IBG_LookupCombo.IMP) and
> see if that resolves your problem, and let me know if you think it is
> selecting the correct column for display.
>
>
> Geoff Worboys
> Telesis Computing
>
>
>
>
>
>