Is there a way to get the opened component saving the values when we click anywhere in the apps outside of that component?
Ghislain Simard -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Manish Jethani Sent: Friday, August 26, 2005 3:04 AM To: [email protected] Subject: Re: [flexcoders] Accordion: save form on exit On 8/26/05, Simard, Ghislain <[EMAIL PROTECTED]> wrote: > In the following example. If I am in the Comp1 and I click on an item on the left tree...meaning that I am focussing out of the Comp1...how to get the Comp1 saved? > <mx:HBox> > <mx:Tree .../> > <mx:Accordion> > <mx:Form id="form1" label="Form One" hide="saveForm(1)"> > <comp:Comp1 id="comp1"/> > </mx:Form> > <mx:Form id="form2" label="Form Two" hide="saveForm(2)"> > <mx:Label text="1"></mx:Label> > </mx:Form> > </mx:Accordion> > </mx:HBox> Comp1 will dispatch a focusOut event only if it's focusable and currently has focus. If you have a TextInput inside a Panel, with the focus in the TextInput, and you move the focus out, it is the TextInput that dispatches the event, not the Panel. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

