control.backcolor am i a donkey?

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...
 
I

Ilya Tumanov [MS]

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).
 
G

Guest

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..
 
G

Guest

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..
 
G

Guest

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

Guest

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
 
G

Guest

thanks i'll try to find it and if i don't be lucky with my search i will
create my own button..
 

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