Subject RE: [IBO] Bug in 4.5Ai with color in TIB_LocateEdit (and resolved)
Author Jason Wharton
I'll take a look into this and see what I can do. At first glance this
looks fine.

PS. Sorry for my silence the past few days. We are rolling out new software
at my jobsite this week.

Jason

> -----Original Message-----
> From: jdoscom [mailto:jdoscom@...]
> Sent: Tuesday, February 01, 2005 11:25 AM
> To: IBObjects@yahoogroups.com
> Subject: Re: [IBO] Bug in 4.5Ai with color in TIB_LocateEdit (and
> resolved)
>
>
>
>
> --- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> > At 05:28 PM 28/01/2005 +0000, you wrote:
> >
> >
> > >Hello,
> > >
> > >In the 4.3 version, when I put a TIB_LocateEdit object and the
> > >dataset is unprepare or browse state, the color was clAqua. Now
> the
> > >color is the color session (gray or white) and is not correct.
> >
> > The default color for Browse state was never clAqua. clAqua used
> to be the
> > SearchingColor.
>
> No, in browse state the locateedit is active, then the color must be
> the searchingcolor.
>
> >
> > >How can I change the source code for resolve this item?
> >
> > As ever - by dropping a TIB_SessionProps onto your form and
> amending the
> > XXXColor properties.
> >
> > If you read the 4.5 release notes, you will discover that the
> default
> > colors have changed, too - they are now less bright versions of
> the
> > previous default colors. The SearchingColor, for example, is now
> a lighter
> > shade of aqua.
> >
> > Helen
>
> I have change the source code in ib_controls.pas 1703 line:
>
> I add:
>
> SysStateChanged;
>
> Then, the color is correct in locate type.
>
> Jason, what is your opinion?