SP2 - BackColor for Button on the Emulator

O

Ofer B.

In SP2 there is added support for ForeColor &/or BackColor for Button,
Checkbox, ComboBox, DomainUpDown, Label, Listbox, ListView, NumericUpDown,
RadioButton, Trackbar, TreeView

I can make a color button on the device, Is there any way to see a color
button on the Emulator?

Ofer
 
Z

Zahid

Hi,

Do you mean Service PAck 2 is available for the Compact
Framework? If so where can I download it from? and more
importantly, are the backcolor and forcolor of buttons
available from the properties palatte?
Im asking because button color is very important for my
new project.

Thanks in advance.
 
F

Floris Briolas

Hi Zahid

I have downloaded the sp2, and I have noticed that the BackColor property is
not show in the property panel, yet the color is settable. You should
probably wait for a designtime update or create a new button based on the
current button and override the backcolor. use [Browsable(true)] for it and
it will appear in the property pannel.

regrads

Floris Briolas
 
O

Ofer B.

The Color works fine on the drvice and the emulator, I had to copy the
correct CF cab file to the emulator.
to use the color just had this
public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

this.button1.BackColor = Color.Red;

}

The SP2 Added support for ForeColor &/or BackColor for Button, Checkbox,
ComboBox, DomainUpDown, Label, Listbox, ListView, NumericUpDown,
RadioButton, Trackbar, TreeView

Ofer
 
Z

Zahid

Hi,

Im a little confused. With CF SP2, can you or cant you
change/set the background color of a button? Ive
installed the SP2 but still cant do it.

Thanks in advance.
-----Original Message-----
Link to SP2
http://www.microsoft.com/downloads/details.aspx? familyid=10600643-09b3-46d8-ba28-
bc494bc20d26&displaylang=en

Ofer

Zahid said:
Thanks Floris,

Where can i download Service Pack 2 from ?

Thanks.
-----Original Message-----
Hi Zahid

I have downloaded the sp2, and I have noticed that the BackColor property is
not show in the property panel, yet the color is settable. You should
probably wait for a designtime update or create a new button based on the
current button and override the backcolor. use
[Browsable
(true)] for it and
it will appear in the property pannel.

regrads

Floris Briolas


.


.
 
O

Ofer B.

Link to SP2
http://www.microsoft.com/downloads/...43-09b3-46d8-ba28-bc494bc20d26&displaylang=en

Ofer

Zahid said:
Thanks Floris,

Where can i download Service Pack 2 from ?

Thanks.
-----Original Message-----
Hi Zahid

I have downloaded the sp2, and I have noticed that the BackColor property is
not show in the property panel, yet the color is settable. You should
probably wait for a designtime update or create a new button based on the
current button and override the backcolor. use [Browsable (true)] for it and
it will appear in the property pannel.

regrads

Floris Briolas


.
 
O

Ofer B.

You can, and it works perfect!


Zahid said:
Hi,

Im a little confused. With CF SP2, can you or cant you
change/set the background color of a button? Ive
installed the SP2 but still cant do it.

Thanks in advance.
-----Original Message-----
Link to SP2
http://www.microsoft.com/downloads/details.aspx? familyid=10600643-09b3-46d8-ba28-
bc494bc20d26&displaylang=en

Ofer

Zahid said:
Thanks Floris,

Where can i download Service Pack 2 from ?

Thanks.

-----Original Message-----
Hi Zahid

I have downloaded the sp2, and I have noticed that the
BackColor property is
not show in the property panel, yet the color is
settable. You should
probably wait for a designtime update or create a new
button based on the
current button and override the backcolor. use [Browsable
(true)] for it and
it will appear in the property pannel.

regrads

Floris Briolas


.


.
 
M

Mark Reddick

It won't appear in the properties window in VS.NET since there isn't an
update for that. But, you should see it via intellisense. Of course, you
always could see it via intellisense but the difference is that now it will
actually do something. :)

- Mark

Zahid said:
Hi,

Im a little confused. With CF SP2, can you or cant you
change/set the background color of a button? Ive
installed the SP2 but still cant do it.

Thanks in advance.
-----Original Message-----
Link to SP2
http://www.microsoft.com/downloads/details.aspx? familyid=10600643-09b3-46d8-ba28-
bc494bc20d26&displaylang=en

Ofer

Zahid said:
Thanks Floris,

Where can i download Service Pack 2 from ?

Thanks.

-----Original Message-----
Hi Zahid

I have downloaded the sp2, and I have noticed that the
BackColor property is
not show in the property panel, yet the color is
settable. You should
probably wait for a designtime update or create a new
button based on the
current button and override the backcolor. use [Browsable
(true)] for it and
it will appear in the property pannel.

regrads

Floris Briolas


.


.
 

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