Questions tagged [groupbox]

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

415 questions
0
votes
2 answers

How to make a radio button selection from groupbox appear in a label?

Is there a way when a user selects a choice from a radio button from a group-box to appear in a label? It would be on the line with Quantity/Phone Type right after numberPhoneTextBox.Text. There are a total of 3 radio-buttons for the user to…
user1422051
  • 37
  • 1
  • 7
0
votes
1 answer

C# groupbox visibility in windows form

I Googled around but seems my problem happens when two gropboxes are overlapping, in my case they are not overlapping! Problem is that the Visible property of groupbox doesn't work. what am I trying to do is that groupbox1 is visible when program…
HadiRj
  • 1,015
  • 3
  • 21
  • 41
0
votes
1 answer

Disable groupbox and keeping context menu enabled

I'm in the process of porting a legacy VB application to C#/Winforms. While the vast majority of the user interface is complete, I have a problem that I've not been able to solve after some digging. My form contains a bunch of group boxes, all…
Gary
  • 495
  • 3
  • 11
  • 21
0
votes
5 answers

How to show a GroupBox and its content on another form?

I have two forms. On the first form I have a virtual numpad (I have a GroupBox and inside I have number buttons and this is my virtual numpad). With this virtual numpad I enter numbers into a TextBox. On the second form I have another TextBox where…
modest and cute girl
  • 785
  • 4
  • 13
  • 24
0
votes
0 answers

GroupBox object reference error

I have several GroupBox controls, and all but one work fine. Code is the same, I don't see what the problem might be. I get NullReferenceException. Does anyone have any clue? This is XAML:
Dr_Freeman
  • 261
  • 1
  • 5
  • 12
0
votes
2 answers

How to reset all items in a groupbox, but not any items outside said groupbox?

I'm working a WPF application which has a number of groupboxes, each containing 3-4 controls a piece. Each of these groupboxes contains a reset button. Instead of explicitly writing a line for each item the groupbox reset buton should reset is there…
Michael A
  • 9,480
  • 22
  • 70
  • 114
0
votes
3 answers

groupbox inside groupbox in c#

I have MSVC 2010 and I need to put a groupbox inside a groupbox. It does not work when I tried to use GUI editor, and it does not work when I use: groupbox1.Controls.Add(groupbox2); groupbox.Visible = true; If I use the code above the second box…
Igor
  • 5,620
  • 11
  • 51
  • 103
0
votes
1 answer

Groupbox border issue

I have a vb app and i recently noticed a strange problem with Groupboxes on one of the forms The problem is, i can see through the borders of groupboxes, so let's say i opened the generated executable and place it over my desktop with nothing…
Dany Khalife
  • 1,850
  • 3
  • 20
  • 47
0
votes
2 answers

Add Controls to GroupBox which was created dynamically

I add GroupBoxes to an ItemsControl dynamically using: string name_ = "TestName", header_ = "TestHeader" GroupBox MyGroupBox = new GroupBox { Name = name_, Header= header_, Width = 240, Height = 150, Foreground=new…
philkark
  • 2,417
  • 7
  • 38
  • 59
0
votes
1 answer

How can I set a style trigger on the GroupBoxes of my ItemsControl without losing their current style?

When I set a style trigger on the children (GroupBoxes) of an ItemsControl the style I've previously applied to GroupBoxes is lost and it renders with default style.
user13070
  • 511
  • 1
  • 5
  • 14
0
votes
4 answers

What is the point of groupBox in WFA in C#?

Is groupBox in WFA in C# usefull for something else than "just saying these components which are inside this groupBox belongs to one group"? Can I for example somehow get any information(get it from the groupBox not from the components inside) what…
user1097772
  • 3,499
  • 15
  • 59
  • 95
0
votes
2 answers

Using GroupBox as layout of interface

I have few operation on matrices, each operation is subject to user's choice. each operation has its own interface. In order to save the data of last operations I use GroupBox to save the buttons of the interface. For example if i decide i want to…
avi.tavdi
  • 305
  • 2
  • 4
  • 17
0
votes
1 answer

How do I iterate through 10 TextBox's in a GroupBox?

I have 10 TextBox's in a GroupBox, in a Tab control. How do I implement Cut, Copy & Paste on all of the TextBox's without accessing each one individually?
robblot
  • 395
  • 2
  • 5
  • 15
0
votes
1 answer

create objects from list with loop in C#

Background: For the most part, I'm self taught in C#, so I apologize if this is some simple-minded problem. I am creating something to the effect of a mailing list (each object has name, address, contact info, etc) and will be printing out in…
-1
votes
1 answer

How to loop radiobutton selection in C#

I have a program that allow customer to vote for the drinks. Order one drink equal to one vote. Order two drink equal to two votes and so on. Enter Order_ID to check the vote counts. Customer vote by selecting the radio buttons and click submit…
parz
  • 19
  • 2