Hello,

I have three questions referring the color of some controls:

1) Is it not possible to set the color of a scrollbar? - I tried it with
vScrollBar1.BackColor but this does not work.

2) Does anybody know how I can set the color of a MessageBox? - Because I
want it in that way, that notifications are in green MessageBoxes and errors
in red MessageBoxes.

3) Is it possible to set the color of tabPages. I do not mean the main area
- I know I can set it with the BackColor property. But I mean the little part
of the tabPage where the name of the tabPage is displayed. Because this areas
remains always grey although I set the color of the tab Page. Is it possible
to do this?

thx

robert

Re: Set Color of controls by Chris

Chris
Fri Nov 12 08:52:16 CST 2004

> 1) Is it not possible to set the color of a scrollbar? - I tried it with
> vScrollBar1.BackColor but this does not work.

Not supported.

> 2) Does anybody know how I can set the color of a MessageBox? - Because I
> want it in that way, that notifications are in green MessageBoxes and
> errors
> in red MessageBoxes.

Again, not supported. You'll have to create a new class for it.

> 3) Is it possible to set the color of tabPages. I do not mean the main
> area
> - I know I can set it with the BackColor property. But I mean the little
> part
> of the tabPage where the name of the tabPage is displayed. Because this
> areas
> remains always grey although I set the color of the tab Page. Is it
> possible
> to do this?

Unfortuantely again unsupported.