Hi John,
You can try doing a textInput.setFocus() in the show event of the parent container.
-Sreenivas
On 3/16/06, wujunjr <[EMAIL PROTECTED]> wrote:
Hi,I'm trying to set focus on a text input field by using setFocus()method in "creationCompelete" property of the TextInput. It works well
while the app is firstly loaded.But the problem is: when I click on other tab (I'm using aTabNavigator), then click back to page with TextInput, the originalfocus loss.So I try to add the setFocus() method in "change" property of the
TabNavigator, but It doesn't work. In fact, I found the setFocus()won't work anywhere outside the scope of TextInput.I'm looking forward to hearing your help.Thanks a lot!John
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development
Computer software development
Software design and development
Macromedia flex
Software development best practice
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.