button backcolor property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a strongarm windows ce 4.1 device and an upgraded device of the same
model that has windows ce 4.2. I needed to change the background color of a
button so I loaded .net cf SP2. This works with the ce 4.1 device but not
with the ce 4.2 device. I also tried .net cf SP3. Does anyone know how I
might fix this?

I am using this code.---- button1.backcolor=Color.red;

Thanks,
Keith Stallings
 
You are sure the SP3 bits are successfully installed on the 4.2 device? What
is the version returned from System.Environment.Version?

Peter
 
In Keith's case it was the fact that the device was using the XP-skin, not
the Win9x skin. The XP skin overrides the default button color.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
Back
Top