Monday, April 7, 2014

RadioGroup not selected as the default


RadioGroup which has the form of a four RadioButton, since demand is now writing a reset button, reset button triggers RadioGroup who are not selected to become the initial state.
Readers will not find what I'm looking API methods, there is someone who does not solve it.

I do not want to write a checkbox linkage ah trouble.
I know you can write a RadioButton to hidden, select the Hide RadioButton that allows users thought it was reset after clicking reset. Is not a little but elegant solution?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Set the selected RadioButton is not checked to see if it can be
Reply:
cited a floor yuejingjiahong reply: checked
set RadioButton is not checked to see if it can




Well, I just found a
One by one the RadioButton to the point setChecked (false); on the line.
Thank you, give you points scored.
Reply:
reference to the second floor n5u99 reply:
cited a floor yuejingjiahong reply:

Set the selected RadioButton is not checked to see if it can


Well, I just found a
One by one the RadioButton to the point setChecked (false); on the line.
Thank you, give you points scored.


This is only possible ...... do so on the surface, then, RadioGroup or on selected last selected RadioButton, but forced setChecked (false) so that it does not show it; should call RadioGroup of clearCheck method ~
Reply:
RadioGroup's clearCheck method - support in the click event after finishing, RadioGroup.clearCheck (); on it
Reply:
clearCheck (); program appeared NULLPOINGE ...... the error, the program can not run. Seeking positive solutions.
Reply:
RadioGroup's clearCheck method support.

No comments:

Post a Comment