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
 

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