Take the tour ×  I am trying to implement a list of checkboxes
and a Android Form App I am working on. I want the list to only
have single selection, i.e. I can only select one option from
the list.... for some reason I can not find any code to do this,
I am using Flashbuilder and the Flex framework, anyone know of a
way to do this ??  Thanks in advance for any help!
share|improve this question Do you want only one checkbox to be
checked at time, like radiobuttons? (Single item selection is
default in the list.) –  alxx May 6 '11 at 18:33 add comment  1
Answer  up vote 2 down vote accepted  If you want a single
selection, use radio buttons with a radio button group. The only
reason you'd want to use checkboxes is if you want to turn off
all selections (with radio buttons, once you've clicked a button
one is always selected).  If you still want to use checkboxes,
do the following:      for each(checkbox:CheckBox in
collectionOfCheckBoxes){      if(checkbox != e.currentTarget){
share|improve this answer Thank