Menu

RadioButtonControl linked by ButtonGroup

2011-06-22
2012-12-13
  • Alessandro Ungari

    Hi,

    I have 2 RadioButtonControl linked by ButtonGrouop. I see that to select an element I need to press mouse button twice.
    On the other hand, without ButtonGroup RadioButtonControll is selected using one click.

    Is it right? Could somebody explain me what is the correct configuration?

    Thanks in advance.

     
  • mcarniel

    mcarniel - 2011-09-24

    It's quite strange: try to compare your code with the one reported in demo4 sample application: you have to link the button group to each radio button and not the opposite!

    e.g.
    ButtonGroup buttonGroup1 = new ButtonGroup()
    controlRadioButton1.setButtonGroup(buttonGroup1);
    controlRadioButton2.setButtonGroup(buttonGroup1);

     

Log in to post a comment.