Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SammyBar - 13 Jan 2006 19:23 GMT
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
Chris Tacke, MVP - 13 Jan 2006 19:25 GMT
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

> Hi all,
>
[quoted text clipped - 12 lines]
> Thanks in advance
> Sammy
Tim Wilson - 13 Jan 2006 19:35 GMT
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/VaultWeb/Blame.aspx?repid=2&path=%24%2fSDF%2f
v1.4%2fOpenNETCF.Windows.Forms%2fGroupBox.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/microsoft.public.dotnet.framework.compactframewor
k/browse_thread/thread/8e77b99d09a50dca/cfc8bfd75473b7a0?hl=en#cfc8bfd75473b7a0


Signature

Tim Wilson
.NET Compact Framework MVP

> Hi all,
>
[quoted text clipped - 12 lines]
> Thanks in advance
> Sammy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.