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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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);