i have in the same form 6 RaidoButton
i need to make every 3 RaidoButton in a group
how to do that
when i put them all i found that the whole 6 only one i can check
i need to check one from the frist group and one from the second group
i wish you get what i mean . .

Jan MontanoRank #1,295 · 1.3K reputationPosted Jun 22, 2007, 12:26 AM EDT
Posted Jun 22, 2007, 11:26 AM EDT
RadioButton1_CheckChanged(sender object, eventArgs e){
RadioButton2.Checked = false;
RadioButton3.Checked = false;
}
RadioButton2_CheckChanged(sender object, eventArgs e){
RadioButton1.Checked = false;
RadioButton3.Checked = false;
}
RadioButton3_CheckChanged(sender object, eventArgs e){
RadioButton1.Checked = false;
RadioButton2.Checked = false;
}
This way, whenever you check a radio button, it triggers that radio button's CheckChanged event and unchecks the other 2 radio buttons. This gives you much more control over the various radio buttons on your form.
Mike GoldRank #50 · 30.6K reputationPosted Jun 22, 2007, 11:29 AM EDT