How to set the background color of Lable control in .NET CF?

  • Thread starter Thread starter Peter King
  • Start date Start date
P

Peter King

Hi All,
How to set the background color of Lable control in .NET CF?
I use the following ,but it doesn't work in .NET CF.
monLabel.BackColor = this.Parent.BackColor;
or
monLabel.BackColor = System.Drawing.Color.Transparent
or
monLabel.BackColor = System.Drawing.Color. (the color of your Form)
Peter
 
Put the label in a panel and set the panels background color. Then set
the label and the panel to the height and width needed.

Jarod
 
Back
Top