This should do it:
txt.setFocus(); 

-Jeff


--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> textInput.setSelection(0,0)
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Nicolas Boulet-Lavoie
> Sent: Friday, May 09, 2008 7:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Cursor in a textinput and setFocus
> 
>  
> 
> Hello,
> 
>  
> 
> How it is possible to place the cursor at the beginning of a text input?
> 
> The setFocus method only places the focus on the control, not the
> cursor.
> 
>  
> 
> Thanks
> 
>  
> 
> Nicolas
>


Reply via email to