Subject | RE: [IBO] Using colorscheme |
---|---|
Author | Riho-Rene Ellermaa |
Post date | 2003-05-12T13:38:55Z |
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.
Riho-Rene Ellermaa
senior programmer
[Non-text portions of this message have been removed]
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.
Riho-Rene Ellermaa
senior programmer
[Non-text portions of this message have been removed]