I am not able to understand what do you mean by "won't work anywhere outside the scope of TextInput".
 
Can you drop a piece of code and indicate what doesn't work ?
 
-Sreenivas


 
On 3/20/06, wujunjr <[EMAIL PROTECTED]> wrote:
Sreenivas,

Thanks for your help.
But as I mentioned before, the setFocus() method
won't work anywhere outside the scope of TextInput.

I'm using flex 1.5.

--- In flexcoders@yahoogroups.com, "Sreenivas R"
<[EMAIL PROTECTED]> wrote:
>
> 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 a
> > TabNavigator), then click back to page with TextInput, the
original
> > focus 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 List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>








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







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




Reply via email to