Is it possible to make a groupBox title as a radio button ? If it's possible, I want to make the whole groupBox dependant of the radioButton.
Add a RadioButton
to your Form
. Make sure it's no control of the GroupBox
.
Add to the constructor of your Form
:
radioButton.Location = new Point(groupBox.Location.X + 13, groupBox.Location.Y - 1);
Everything else is possible through Events
.
You can't do this directly, no. You might be able to make a custom control that combined the two things. Alternatively you might just need to have the GroupBox
not have a title and put the RadioButton
over it. A little kludgy, of course, but it doesn't look bad.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With