Subject | RE: [IBO] Using colorscheme |
---|---|
Author | Helen Borrie |
Post date | 2003-05-12T13:51:25Z |
At 04:38 PM 12/05/2003 +0300, you wrote:
Helen
>I _suppose_ (but please check this) that when the OnStateChangedDid 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;
>
>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.
Helen