VS 2005 PocketPC project: no GroupBox control, no BorderStyle property for Panel control...

S

SammyBar

Hi all,

I'm starting my first project with .NET for Pocket PC by using Visual Studio
2005 Professional. My first shock: it is no GroupBox control on my Toolbox
for the default created Device Application project created by VS. Which
reference should I Add to my project to "see" the GroupBox? Or may be it is
not available for the PocketPC?
Ok, no GroupBox, then the Panel control should do the work. But it is here
the second shock: The documentation says it should be a BorderStyle property
to make the border solid and visible, but at least it is not available at
design time 'cause I can't find it in my Properties...

What is wrong with my brand new VS2005?

Thanks in advance
Sammy
 
C

Chris Tacke, MVP

Nothing is wrong with Studio. Device projects have no GroupBox control and
the Panel has no supported BorderStyle. Use a Panel, override OnPaint, and
draw your own.

-Chris
 
T

Tim Wilson

The GroupBox control is not available in the Compact Framework. However,
there is a GroupBox in the OpenNETCF SDF and you can either get the source
for it here...
http://vault.netcf.tv/VaultService/...rms/GroupBox.cs&version=4&includedversions=20
(Login: guest, Password: guest)
.... or you can wait until we release v2.0 of the SDF which will support the
GroupBox through the designer.

The Panel control does not support the BorderStyle property in the Compact
Framework. You can find workarounds in the archives linked below.
http://groups.google.com/group/micr...50dca/cfc8bfd75473b7a0?hl=en#cfc8bfd75473b7a0
 

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