I have two groups of Radio buttons but they are put in one group box , so how can i separate them without creating another group box , so if i choose an option from group 1 i will still be able to choose option from group 2 ?
Asked
Active
Viewed 1.8k times
1
-
Dupe of http://stackoverflow.com/questions/2178240/how-do-i-group-windows-form-radio-buttons – Sam Mar 10 '13 at 14:23
-
The solution for the above link is to put them in separated group boxes , but in my case i can't do it because it will disrupt the GUI . Edit never mind , the Panel doesn't appear in the GUI. Thank you for your Help – user1970090 Mar 10 '13 at 14:25
-
OK sure, I have posted an answer to help you with your problem. – Sam Mar 10 '13 at 14:29
2 Answers
2
If you don't want to disrupt with group boxes, use Panels (System.Windows.Forms.Panel)
. You won't see the border but the radio buttons will work independently.

Sam
- 946
- 7
- 19
1
Radio buttons will act as though they are all in one group unless separated.
You do that with Panels or Group Boxes
The difference is Group Boxes are visible whereas Panels are invisible.
^ Here, the lower 3 radio buttons are in a Panel to separate them from the upper 3 buttons.

Austin B
- 184
- 1
- 1
- 8