Subject | RE: [IBO] Using colorscheme |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2003-05-13T08:07:26Z |
>>I _suppose_ (but please check this) that when the OnStateChanged<Did you call inherited first in the OnStateChanged event?
>>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
<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