Hello All,
I was wondering how would I go about hiding a group box's border.
by default the padding was 3, 3, 3, 3 and I set them all to 0 but it seemed like it had no effect.
Any help would be appreciated
~Thanks~
Hide C# Group Box
Page 1 of 15 Replies - 10071 Views - Last Post: 03 February 2010 - 01:24 PM
Replies To: Hide C# Group Box
#2
Re: Hide C# Group Box
Posted 03 February 2010 - 12:39 PM
From the properties available to the group box I don't think that it is possible to hide the border. Everything that I tried wouldn't hide it.
#3
Re: Hide C# Group Box
Posted 03 February 2010 - 12:53 PM
If you want a grouping control without a border, you can use the Panel.
Does that work for you?
Does that work for you?
#5
Re: Hide C# Group Box
Posted 03 February 2010 - 01:03 PM
I agree with MentalFloss. A Panel and a GroupBox do all the same things. A Panel doesn't have a border, and GroupBox does. If you don't want a border, you use the Panel.
#6
Re: Hide C# Group Box
Posted 03 February 2010 - 01:24 PM
you could always derive a custom object from a group box and then override the OnPaint event.
or...you could just use a panel ;)
or...you could just use a panel ;)
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|