I have a menu bar with two menus on it.
On one of the Menus I have difficulities Easy,Medium,Hard.
When clicking on several of these radiobuttons they all stay checked. My problem is: How do I uncheck them and only make sure that one of the buttons can remain checked at a time?
I have tried this but it doesnt seem to work.
if (Easy.isSelected() == (true))
{
Medium.setSelected(false);
Hard.setSelected(false);
}
if (Medium.isSelected() == (true))
{
Easy.setSelected(false);
Hard.setSelected(false);
}
if (Hard.isSelected() == (true))
{
Easy.setSelected(false);
Medium.setSelected(false);
}