SP2, How to use new features in VS Studio

  • Thread starter Thread starter Holger
  • Start date Start date
H

Holger

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger
 
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do this in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter
 
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do this in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.
 
From the SP2 change list
(http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc
-ac04-7bb50a134556&DisplayLang=en)

"Extend keyboard events to be enabled on all controls (Control.KeyUp,
KeyDown, KeyPress)
- Added support for ForeColor &/or BackColor for Button, Checkbox, ComboBox,
DomainUpDown, Label, Listbox, ListView, NumericUpDown, RadioButton,
Trackbar, TreeView"

None of these are new, however in previous versions these properties and
events were not fully implemented. For example if you wrote
comboBox1.BackColor = Color.Red
Then the statement would compile and run with no errors on all versions of
the Compact Framework, however only when running on SP2 will this actually
have an effect.

The download page for the SP2 package (see link above) has a full list of
bug fixes / enhancements.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do this in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.
 
okay,

I've checked the list and tested some properties. There is
only one question open, concerning the tab key. I want to
use a foldable keyboard with my PPC. So the following
feature is interesting:
"Tab support for Pocket PC based on Z-Order"

I checked my ppc form in a app I made with sp2. I can
navigate through the textboxes on a form with the tab key.
This is great for getting Data in to a database. The only
thing I can't find is setting the z-order. How can I
control in which order the tab key navigates through the
form?

Thank you a lot.

Holger
-----Original Message-----
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do
this
in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.
.
 
I believe this is based on the order in which you add controls to the form.
Inside the InitializeComponent method you will see after the controls have
been created they are added to the forms Controls collection.
this.Controls.Add(this.label1);

this.Controls.Add(this.textBox1);

this.Controls.Add(this.textBox2);

Note that the designer adds controls in reverse order - so the last control
added to the form is added to the controls collection first. You can
manually alter this by swapping the statements around. If you are developing
for Smartphone there is a plugin on the View menu called "Smartphone Tab
Order" which has the same effect.


Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Holger said:
okay,

I've checked the list and tested some properties. There is
only one question open, concerning the tab key. I want to
use a foldable keyboard with my PPC. So the following
feature is interesting:
"Tab support for Pocket PC based on Z-Order"

I checked my ppc form in a app I made with sp2. I can
navigate through the textboxes on a form with the tab key.
This is great for getting Data in to a database. The only
thing I can't find is setting the z-order. How can I
control in which order the tab key navigates through the
form?

Thank you a lot.

Holger
-----Original Message-----
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do
this
in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.
.
 
The z-order is set by the order in which the controls are added to the
Parent. BringToFront can be used to modify it.

-Chris

Holger said:
okay,

I've checked the list and tested some properties. There is
only one question open, concerning the tab key. I want to
use a foldable keyboard with my PPC. So the following
feature is interesting:
"Tab support for Pocket PC based on Z-Order"

I checked my ppc form in a app I made with sp2. I can
navigate through the textboxes on a form with the tab key.
This is great for getting Data in to a database. The only
thing I can't find is setting the z-order. How can I
control in which order the tab key navigates through the
form?

Thank you a lot.

Holger
-----Original Message-----
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take advantage of
setting BackColor etc properties you will need to do
this
in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Hi,

I installed the new SP2. How do I use the new features in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.
.
 
Hi Peter,

thanks a lot. This really helped. Now I have my controls in the right order
for tab-key navigation.

Bye,

Holger

Peter Foot said:
I believe this is based on the order in which you add controls to the form.
Inside the InitializeComponent method you will see after the controls have
been created they are added to the forms Controls collection.
this.Controls.Add(this.label1);

this.Controls.Add(this.textBox1);

this.Controls.Add(this.textBox2);

Note that the designer adds controls in reverse order - so the last control
added to the form is added to the controls collection first. You can
manually alter this by swapping the statements around. If you are developing
for Smartphone there is a plugin on the View menu called "Smartphone Tab
Order" which has the same effect.


Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

Holger said:
okay,

I've checked the list and tested some properties. There is
only one question open, concerning the tab key. I want to
use a foldable keyboard with my PPC. So the following
feature is interesting:
"Tab support for Pocket PC based on Z-Order"

I checked my ppc form in a app I made with sp2. I can
navigate through the textboxes on a form with the tab key.
This is great for getting Data in to a database. The only
thing I can't find is setting the z-order. How can I
control in which order the tab key navigates through the
form?

Thank you a lot.

Holger
-----Original Message-----
Thank you Peter,

is there a list of all the canged properties?

Bye,

Holger
-----Original Message-----
There is no update to Visual Studio, if you want to take
advantage of
setting BackColor etc properties you will need to do this
in code e.g. in
your form's constructor or OnLoad method e.g.

[C#]
textBox1.BackColor = System.Drawing.Color.Blue;

[VB]
TextBox1.BackColor = System.Drawing.Color.Blue

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

message
Hi,

I installed the new SP2. How do I use the new features
in
VS Studio 2003. How to set the new properties in the
designer described in the feature list???

There seems to be no changes in the Desigener / Toolbox.

Thanks for you help.


Holger


.

.
 
Back
Top