--- In [email protected], "mvbaffa" <[EMAIL PROTECTED]> wrote:
> I could not find a way to set the initial input focus to this window 
> or to a TextInput field. How can I do it???

You should be able to access all members of the PopUp by using a local
variable assigned to the PopUpManager's createPopUp result:

var _popUp = mx.managers.PopUpManager.createPopUp( _root, [Component],
true );
_popUp.firstTextInput.setFocus( );

Or, in the [Component] being used as the PopUp, add
creationComplete="firstTextInput.setFocus( )" to the root tag. Mine
works best this way.





--
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/
 


Reply via email to