RE: [flexcoders] How to deselect a RadioButtonGroup?

2005-12-08 Thread Matt Chotin
The only way to do this is undocumented and therefore probably won’t work in Flex 2.0.  Set rgpSex.selectedRadio = undefined;   Normally I don’t think a UI lets you de-select a radio group though, instead you should have an option for “none”   Matt   From: flexcoders@yahoogr

RE: [flexcoders] How to deselect a RadioButtonGroup?

2005-12-08 Thread Matt Chotin
Though in looking at the name of your radio button I’m guessing you’re resetting a form, in which case the selectedRadio trick is the thing to try.   From: Matt Chotin Sent: Thursday, December 08, 2005 10:19 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcode

Re: [flexcoders] How to deselect a RadioButtonGroup?

2005-12-08 Thread guo haifeng
private function btnSetUndefined_Click():Void    {     rgpSex.selection.selected=false;     rgpSex.selection.data="" face="Courier New">undefined;     lblValue.text="Value:"+rgpSex.selection.data.toString();     } On 12/9/05, Matt Chotin <[EMAIL PROTECTED]> wrote: The only way to do this