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 . .
Mike GoldPosted Jun 22, 2007, 3:29 PM
Posted Jun 22, 2007, 3:26 PM
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.
Jan MontanoPosted Jun 22, 2007, 4:26 AM