• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

backcolor

From a button you can select a backcolor. I choose the color "Control". And i set UsevisualStyleBackcolor = false. Later in the programm I changed the backcolor from this button to  green. Later on I want to change it back (runtime) to the original color "Control"
How can I do that? I can't find a &Hxxxx colornumber and control is not a number?
0
dgb
Asked:
dgb
1 Solution
 
ericwong27Commented:

 Me.CloseButton.BackColor = System.Drawing.Color.Green
 Me.CloseButton.BackColor = System.Drawing.SystemColors.Control
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now