Radio Buttons
for example i have this:
Checkbox cb;
CheckboxGroup cbg;
cb =new Checkbox("Hello", cbg,true);
in this case the Hello will be right of the radio button, so how can i make it to the top of the radio button?
THanks
for example i have this:
Checkbox cb;
CheckboxGroup cbg;
cb =new Checkbox("Hello", cbg,true);
in this case the Hello will be right of the radio button, so how can i make it to the top of the radio button?
THanks
I'm not sure if this can be done.
You could make a default Checkbox, one that has no label. Then create a separate label and place that above the Checkbox.
what method do i use to determine which checkbox is selected?
Edit: since i cant use getSelectedCheckbox().getLabel() what should i use?
Message was edited by:
bail_w
Message was edited by:
bail_w
> what method do i use to determine which checkbox is selected?
[EDIT] Sorry, that was Swing...
CheckboxGroup.getSelectedCheckbox();
~
well the thing is i created four empty checkbox then place four different label on top. so now i dont know how to determine which one is selected
edit: nvm, i did some tricks by using empty space in the string lol.
cb = new Checkbox("", cbg, true);
Message was edited by:
bail_w
Message was edited by:
bail_w
Message was edited by:
bail_w