button backcolor property

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
 
P

Peter Foot [MVP]

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

Peter
 
G

Guest

Hi Keith,

I was facing the same problem.... Did you find an answer???
Thanx, Lorenzo.
 
C

Chris Tacke, eMVP

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
 

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