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

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
 
J

Jarod

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top