Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default BackColor of Label 1

Status
Not open for further replies.

Flupke

Programmer
Jun 26, 2002
94
BE
In VB.NET 2005 code, I changed the BackColor of a label using lblTest.BackColor = Color.Red
Now I want to restore the initial BackColor of that label. In the properties-window of the label, the BackColor is defined as Control.
It seems I can not use this through code.
How can I set the BackColor of the label again to its original default-value through code?

Many thanks and greetings from Brugge (Bruges - Belgium),

Michel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top