button backcolor propert not available

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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?
 
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
 
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.
 
Back
Top