It is a container that displays a frame around a group of controls with an optional header.
Questions tagged [groupbox]
415 questions
6
votes
3 answers
Custom GroupBox with custom TextColor, BorderColor and Transparent BackColor
I'm using WinForms. In my form I have a GroupBox. This is a custom group box. I wanted a transparent background for the groupbox. I'm having issues creating a transparent background for the groupbox The problem with this code is i keep on getting an…

taji01
- 2,527
- 8
- 36
- 80
6
votes
3 answers
How to change forecolor of disable checkbox in winforms
I am working in windows application that has a form.this form contains a group box that has some check-boxes. I have set this group box as disable. Now my problem is the fore-color of check-box text.It becomes light gray as shown in picture…

Amit Kumar
- 1,059
- 3
- 22
- 43
6
votes
1 answer
VB / C#: Resizing two controls equally
I have made a window in which I will be having two groups/panels and some buttons in between them. I want to code the resizing behavior in a way that when the window expands, the two panels increase their widths while keeping the distance between…

Faraz Azhar
- 562
- 9
- 28
6
votes
3 answers
Group box with title as Check box
I am using Visual Studio 6.0 (VC++ with MFC) in Windows XP platform. I am trying to create a group box with the title of the group box as a check box. My intention is this: If the check box is enabled, the controls inside the group box should be…

Bharani
- 303
- 1
- 8
- 16
5
votes
1 answer
Transparent group box
I have inherited from TGroupBox of the Delphi native control and overriden its Paint method to draw rounded rectangle.
procedure TclTransparentGroupBox.CreateParams(var params : TCreateParams);
begin
inherited;
Params.ExStyle :=…

Rahul W
- 833
- 11
- 26
5
votes
3 answers
FlowLayoutPanel Height bug when using AutoSize
I have a form holding a TableLayout with 1 column and 3 rows that holds 2 FlowLayoutPanels and a Text box.
All Rows are AutoSize, and the column is set to Percentage=100%.
Each FlowLayoutPanel holds several TextBoxes.
The FlowLayoutPanels are set:…

Yoram
- 179
- 1
- 2
- 9
5
votes
2 answers
C# default checked RadioButton in a GroupBox
I have two GroupBoxes (groupBox1 and groupBox2) and each of which contains a set of RadioButtons.
The problem is that in groupBox1, there is a default RadioButton (1st RadioButton in the group) been checked when running the project, meanwhile…

daiyue
- 7,196
- 25
- 82
- 149
5
votes
2 answers
WinForms - DataGridView Inherits style from GroupBox
I have a weird problem, and I don't know if this is the default behaviour of .Net DataGridView inside a GroupBox/TabControl.
I've created a new WinForm project from scratch, and created a GroupBox(changed the text style). Like this:
alt text…

Izzy Rodriguez
- 2,097
- 3
- 21
- 32
5
votes
4 answers
Disable groupBox including the groupBox name in WPF
I have a groupBox name "groupBox".I want to disable whole groupbox includind the name of the group box.
I am attaching the image.I hope it would clear the situation

jiten
- 5,128
- 4
- 44
- 73
5
votes
2 answers
How can I change the border thickness of a Groupbox on a windows form in C#?
I didn't find any solution that helped me on the older questions on SO... Is it possible to make them thicker or just more visible by changing the color? If yes, some code would be great... or just a hint how to do it...

asdasdad
- 832
- 3
- 15
- 27
5
votes
2 answers
WPF Groupbox Control Header with Button and text aligned Opposite
I want to achieve such an interface using WPF groupbox control
Is there a way to achieve such an interface with WPF groupbox control?

Asad Durrani
- 2,197
- 1
- 15
- 12
4
votes
1 answer
How to check if any of three controls has focus at same time in wpf?
I have a three textboxes...and I wanted to check if any of these three has focus in it.
I tried something like this -> added three properties in viewmodel...whose value will be toggled by lost/got focus events. (I did this through attached…

Relativity
- 6,690
- 22
- 78
- 128
4
votes
1 answer
delphi group box caption color change
I m using BDS 2006 and would like to know if u can change the color of Group-box and radio group captions with XPmanifest present in the Project(because it is Always blue in color).

Shirish11
- 1,587
- 5
- 17
- 39
4
votes
1 answer
Problem with the mouse click on toggleButton in WPF
I made a custom control template that turns a groupbox into an expander (clicking on the header expands/collapses the content of the groupbox). It works fine except that mouse clicks don't always go through: sometimes it doesn't expand/collapse when…

mobileTofu
- 1,071
- 2
- 14
- 25
4
votes
1 answer
WPF: get the content of a GroupBox to fill available space
I'm facing an irritating problem with WPF GroupBox, hope someone can help me out. Basically the problem is this: I have a listview inside a GroupBox, but no matter what I do I can't seem to be able to make it fill the GroupBox.
Here is the basic…

Master_T
- 7,232
- 11
- 72
- 144