Subject RE: [IBO] Using colorscheme
Author Riho-Rene Ellermaa
>>I _suppose_ (but please check this) that when the OnStateChanged
>>handler is called, the colors have already changed. If this is true,
>>you could just copy the color from a know TIB_Edit:
>>
>> MyStandardControl.Edit := MyIB_Edit.Color;
>>
>>
>
>
>The color copying didn't work :(.
>Well, have to write a long switch statement.
>
> Riho


<Did you call inherited first in the OnStateChanged event?
<Helen


Can you be little more specific? What inherited first do you mean? TIB_Query::First()?

The color of IBO controls seems to be set after OnStateChanged event.

Riho-Rene Ellermaa
senior programmer