Subject Re: [IBO] Bug in 4.5Ai with color in TIB_LocateEdit (and resolved)
Author jdoscom
--- 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?