Questions tagged [groupbox]

It is a container that displays a frame around a group of controls with an optional header.

415 questions
3
votes
2 answers

Transparent background color in TGroupBox - DELPHI

How can i set transparent background color in TGroupBox? In my Delphi's form I have a GroupBox and a Panel (graphically overlaid). I wrote a procedure to draw a gradient fill on the Panel using Rect. It works! Now I have another problem: GroupBox…
stacker
  • 603
  • 4
  • 10
  • 15
3
votes
2 answers

Custom controls (groupbox, picturebox, label) - On Mouse Enter, Insides Disappear

Sorry for that very confusing title, here's my problem. I have a custom GroupBox, and inside of that is a custom picturebox and label. The issue is, when I launch the form application whenever my mouse enters the GroupBox my my label's font color…
DannyF247
  • 628
  • 4
  • 14
  • 35
2
votes
1 answer

Custom GroupBox control with other controls inside

I didn't like any available solutions so I started to make my own wizard interface. I use a GroupBox for each step of the wizard but since every step (every GroupBox) must have the same structure and style, I decided to use custom controls. Now I…
AlicanC
  • 863
  • 1
  • 8
  • 12
2
votes
0 answers

Custom groupbox control not painting correctly when added to tabpage

I have a groupbox which I created a custom paint event for so that I can control the border color. It works great when the groupbox is on a form but when the groupbox is on a tabpage, the control does not paint properly. Everything is blurry and…
Dan
  • 41
  • 4
2
votes
1 answer

PyQt4 Vertical Layout Autospacing

I am using Qt Designer to set up a simple gui for a program I am writing in which I need to display a column of radio buttons. I want to hide some of the radio buttons (not just disable them) based on whether or not their corresponding port is…
gwenger
  • 1,211
  • 3
  • 12
  • 11
2
votes
0 answers

When GroupBox with databound children is re-enabled, only first child gets re-enabled

I have a groupbox with child buttons. All the child buttons have their .Enabled databound to form-level booleans. I also databound the booleans to labels for the sake of troubleshooting. This is a minimal reproduction of a problem I'm having in a…
amonroejj
  • 573
  • 4
  • 16
2
votes
3 answers

Change Colour of Group Box Group Title Name

How I can change the GroupBox title colour? The default colour is blue and I would like to alter that.
Rafee
  • 3,975
  • 8
  • 58
  • 88
2
votes
2 answers

Check if Cursor is in groupBox1 or groupBox2 C#

i have 2 groupBoxes, both with one TextBox and one Button. When i am in groupBox1 and write something in textBox1 and i Press the Enter Button, the Button in groupBox1 should be pushed, same Thing when i am in groupBox2 and write something there in…
steffen1994
  • 247
  • 2
  • 12
2
votes
1 answer

WPF GroupBox Header Customization

I have edited the standard GroupBox template as I wanted to customize it. Apart from other customizations, I wanted the GroupBox header to be Horizantally aligned in the Center instead of Left or Right. The alignment of the Header is not a problem…
Wajahat Khan
  • 23
  • 1
  • 3
2
votes
0 answers

Set back to default radio button

I am working with VB.net and am trying to create a Clear button. I have everything worked out with my labels, checkboxes, and textboxes. The problem I have is working with the 3 radio buttons in a group box. I want it to default back to the…
2
votes
2 answers

Set CheckBox Checked based on CheckBoxes of a GroupBox

Good Morning I want to ask something that is related in checkboxes I have to groups of checkboxes and it looks like this My question is How can i check the checkbox Purchase Requisition whenever i check any checkbox in Group Purchase Requisition…
Nyx Assasin
  • 141
  • 1
  • 11
2
votes
4 answers

Custom GroupBox with round edges

I have a question about UI in visual studio, in C#. I want to make my groupbox custom to look like this: and then, I also want it to expend depends on the user's screen resolution, so the size of the group box isn't fixed, and I need it to be for…
TheDaJon
  • 545
  • 2
  • 8
  • 24
2
votes
4 answers

How to prevent controls inherit Font from their parent GroupBox

I'm developing Windows Forms application and have a GroupBox with many Labels and TextBoxes. If I change the GroupBox's font then the Label's and TextBox's font are also changes. Is there a way to change the GroupBox's font without change Label's…
Willy
  • 1,689
  • 7
  • 36
  • 79
2
votes
2 answers

Looping through groupBox controls in the right order

I have a bit of code which loops through my groupBox controls and fetches the name of the control. It then writes the names into a textbox. However, the order in which they are looped through needs to be in line with the names, gb1, gb2, gb3... The…
user8511320
2
votes
1 answer

PyQt widget alignment with other elements

Consider this small GUI example that is supposed to display two GroupBoxes. The first one is placed in a custom QWidget: import sys from PyQt4 import QtGui class SomeBoxWidget(QtGui.QWidget): def __init__(self): super(SomeBoxWidget,…
a.smiet
  • 1,727
  • 3
  • 21
  • 36