button backcolor propert not available

G

Guest

Hi,

I just installed the Compact Framework SP2. According to the fixes and enhancements listed on Microsoft's download page, the BackColor property was added to the button control and others.

Problem: I still don't see the backcolor property for the button control. Has anyon had this problem? Any suggestions?

Thanks
 
G

Guest

Correction: I don't see the BackColor property at design-time. At run-time I set
the BackColor programmatically, but it does not change. What ever happened to unit testing?
 
P

Peter Foot [MVP]

None of the service packs have added functionality to the design time
experience, so BackColor ForeColor etc properties have to be set from code.
As long as the SP is correctly installed on the device you should see this
working. You can check if your code is running on SP by querying the
Environment.Version property.

Peter
 
T

Tim Wilson

Are you sure that your device is actually running SP2 re-release
(1.0.3316.0)? The Button BackColor should work through code.

[C#]
public Form1()
{
InitializeComponent();
this.button1.BackColor = Color.Red;
}

--
Tim Wilson
..Net Compact Framework MVP
{cf147fdf-893d-4a88-b258-22f68a3dbc6a}
Herb said:
Correction: I don't see the BackColor property at design-time. At run-time I set
the BackColor programmatically, but it does not change. What ever happened to unit testing?
enhancements listed on Microsoft's download page, the BackColor property was
added to the button control and others.
 

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