
Setting a control's backcolor to a system color in code
I want to set the backcolor of a control to the System
Window color. When you pick a color in the designer, you
can choose between 3 tabs: Custom, Web, and System.
I am able to access the web colors in code:
Example:
txtTest.BackColor = Color.White
However, I want to access the System colors in code so
that I can set the backcolor to the System Window color.
How can this be done?
Thanks,
Joanna