473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 11563
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.net...
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.net...
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
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...
4
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...
1
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...
2
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...
1
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
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
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...
1
by: xujinqian | last post by:
Who can tell me: how to change the border color of groupbox controls(VS2003)???
8
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.