The FormItems are simply children of the Form, so use numChildren and
getChildAt() in a for-loop to iterate over them.

The MXML id of each child is accessible as its id property.

Controls like TextInput, ComboBox, Button, etc. are children of the
FormItems.

- Gordon

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of rbelknap
Sent: Tuesday, June 07, 2005 2:56 PM
To: [email protected]
Subject: [flexcoders] Discovering FormItems inside a Form

Does anyone know a way to discover what FormItems are inside a Form?  
In otherwords, given the id of a Form, can I run some method to get a 
list of the id's of the FormItems and/or Buttons inside the Form?

Thanks.




 
Yahoo! Groups Links



 





 
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/
 



Reply via email to