473,657 Members | 2,499 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GroupBox border

In a standard GroupBox, how do I make the visible 'border line' not show (it
looks like an etched in line about 5 pixels shy of each border of the group
box)?

Thanks in advance!

[==Peteroid==]
Nov 17 '05 #1
4 11588
On Mon, 28 Mar 2005 08:41:24 -0800, Peteroid wrote:
In a standard GroupBox, how do I make the visible 'border line' not show (it
looks like an etched in line about 5 pixels shy of each border of the group
box)?


AFAIK, you can't; it's an integral part of the control. Why not just use a
regular label (static control)?

--
Doug Harrison
Microsoft MVP - Visual C++
Nov 17 '05 #2
Hi Doug,

Can a Label contain other Controls? Can a Label be used to group Radio
Buttons that are associated with each other? I know that GroupBox's can be
used for both of these purposes, and I need for the Control type I'm using
to have both of these qualities. If a Label can do this that would be great!
Can it?

[==Peteroid==]

"Doug Harrison [MVP]" <ds*@mvps.org > wrote in message
news:1j******** *************** ******@40tude.n et...
On Mon, 28 Mar 2005 08:41:24 -0800, Peteroid wrote:
In a standard GroupBox, how do I make the visible 'border line' not show
(it
looks like an etched in line about 5 pixels shy of each border of the
group
box)?


AFAIK, you can't; it's an integral part of the control. Why not just use a
regular label (static control)?

--
Doug Harrison
Microsoft MVP - Visual C++

Nov 17 '05 #3
On Mon, 28 Mar 2005 10:41:18 -0800, Peteroid wrote:
Hi Doug,

Can a Label contain other Controls? Can a Label be used to group Radio
Buttons that are associated with each other? I know that GroupBox's can be
used for both of these purposes, and I need for the Control type I'm using
to have both of these qualities. If a Label can do this that would be great!
Can it?


I think you can get the effect you're after in .NET by using a panel
control. (I thought you were talking about the Windows groupbox.)

--
Doug Harrison
Microsoft MVP - Visual C++
Nov 17 '05 #4
Yes! Panel is what I'm looking for! Thanx, Doug!!! :)

[==Peteroid==]

"Doug Harrison [MVP]" <ds*@mvps.org > wrote in message
news:lv******** *************** *****@40tude.ne t...
On Mon, 28 Mar 2005 10:41:18 -0800, Peteroid wrote:
Hi Doug,

Can a Label contain other Controls? Can a Label be used to group Radio
Buttons that are associated with each other? I know that GroupBox's can
be
used for both of these purposes, and I need for the Control type I'm
using
to have both of these qualities. If a Label can do this that would be
great!
Can it?


I think you can get the effect you're after in .NET by using a panel
control. (I thought you were talking about the Windows groupbox.)

--
Doug Harrison
Microsoft MVP - Visual C++

Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1289
by: Marina | last post by:
Hi, I'm creating a user control similar to the GroupBox control and I need to set Title and Border colors same as a ones of the original .NET GroupBox. For example with blue or silver color scheme of XP style it looks blue, with green scheme it looks kind of brown. I cannot find what System Color codes should I use. Does any one know? thanks, Marina
4
11913
by: Vincent Finn | last post by:
Can anyone tell me what the difference is? Where I might need one over the other? I know in VB there was a panel and no groupBox in MFC there was a groupBox and no panel But in C# they are both available and seem identical Just curious
1
13040
by: MikeY | last post by:
I'm trying to find a way for changing the thickness of the groupbox borders. I've searched on this site but can't seem to find anything of this subject. Does anyone have a suggestion. Thanks in advance MikeY
2
5602
by: Dan Neely | last post by:
My dialog has groupboxes with slow to redraw controls, to improve the appearance I want to doublebuffer it. While I can use SetStyle() in the Dailogs constructor the setting change doesn't get propagated to the groupbox, and since it's a protected method I can't call groupbox.SetStyle(). I've tried deriving a custom class from System.Windows.Forms.GroupBox and calling SetStyle from inside of it's constructor and from a new method. Both...
1
1285
by: Jesper | last post by:
Hi, How can I control the colors of the heading and the frame of a groupbox control in .net 2.0 Regards Jesper.
5
12054
by: Jason Huang | last post by:
Hi, I would like to set the GroupBox's border to invisible, how to do that? Thanks for help. Jason
1
14171
by: Ames111 | last post by:
I have found about a billions threads on this but not one answer. The groupbox control, how can you set its border colour? I see many people responding with "Capture the onpaint event" but honestly i believe im not the only person who gets no benefit from such a suggestion. A sample on capturing this event, setting the border color to something
1
1664
by: xujinqian | last post by:
Who can tell me: how to change the border color of groupbox controls(VS2003)???
8
28532
by: Steve | last post by:
Hi All Is there a way to change the colour of a Groupbox border in VB.net 2005 I want to change it to white Can it be done in the onpaint event? Regards Steve
0
8397
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.