Subject RE: [IBO] Using colorscheme
Author Helen Borrie
At 04:38 PM 12/05/2003 +0300, you wrote:


>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;
>
>If it isn't true, maybe it's true for the AfterEdit, AfterDelete
>etc. events. You could write a single handler for all these events and
>copy the color.
>
>
>
>The color copying didn't work :(.
>Well, have to write a long switch statement.

Did you call inherited first in the OnStateChanged event?

Helen