Subject RE: [IBO] Using colorscheme
Author Riho-Rene Ellermaa
At 03:33 PM 13/05/2003 +0300, you wrote:
>Thanks for a research.
>As I have only one such control in couple of forms, then the easiest
>solution is to put checks to OnStateChanged event and write
>if(state=dssEdit)
> c->color=...
>etc.
>

I still think you must call Inherited *first*, since this will cause the
colour change in the IB_components to take effect. Then add your code to
simply copy the (newly current) colour of an IB_component. You should not
then have to check separately for the dataset state.

At least try it, if just to prove me wrong.

Helen

----------------------

I would gladly try it if I could understand what is this "Inherited" you are refering to.
(I'm using BCB, noy Delphi). And so far as I know there are no Inherited things to call in events.

Maybe small code snippet would help me understand

Riho-Rene Ellermaa
senior programmer