Subject | RE: [IBO] Using colorscheme |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2003-05-12T13:57:24Z |
>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
Can you be little bit more specific? What inherited should I call.
I don't overwrite anything, I just set the OnStateChanged event.
Riho-Rene Ellermaa
senior programmer
[Non-text portions of this message have been removed]