control.backcolor am i a donkey?

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

Guest

hi all i ahve this problem, which i think is quite simple
i want to change color to a botton so i write:

button1.backcolor=color.red...

but nothings happen the button still remains gray

i am developping under windows ce 5.0 .net, using compact framework 2.0 sp1

please help me...
 
Probably a known bug in the designers, look at generated form code and see
if it's set.

I believe it's fixed in VS 2005 SP1, if not - set it manually, e.g. on form
loading.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
mmm now i try to download the service pack..and hope the problem will solve...
because in the designer i have the entry button1.backcolor=color.red..
 
mmm i have downloded the service pack but nothing happens..i still can't
change the background color of a button..

i can change the backcolor for a label, for a form but not for a button..

probably i have to say that i am developping to a panel pc , made by APPLEX,
which has windows ce 5.0 .net..

and here the buttons have quite an the xp style so they are different from
the pocket pc style..
 
You have the XP Skin component enabled/installed on the device. When this
is the case, Control.BackColor has no effect.
 
and how can i disabled this component?

You have the XP Skin component enabled/installed on the device. When this
is the case, Control.BackColor has no effect.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
 
thanks i'll try to find it and if i don't be lucky with my search i will
create my own button..
 
Back
Top