Are you using Visual Studio .NET? Then try this:
1. Drop a Radiobutton control on your form.
2. Make sure it's selected and then press F1.
3. You'll get a list will all members of the RadioButton class.
4. At the top of the page, follow the RadioButton overview link and you'll see this:
Quote:
quote:When the user selects one radio button within a group, the others clear automatically. All RadioButton controls in a given container, such as a Form, constitute a group. To create multiple groups on one form, place each group in its own container, such as a GroupBox or Panel control.
|
And there you have it. Just add some other containers like Panels on your form. Drag the Radiobuttons into the panel, so all Radiobuttons inside that panel will act as one group. Multiple panels means multiple groups.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.