RE: [flexcoders] Setting the insertion point (caret) in a text input field

2006-05-11 Thread Tracy Spratt
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, May 10, 2006 5:07 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Setting the insertion point (caret) in a text input field   Hi, You could use an event listener for the controlName

RE: [flexcoders] Setting the insertion point (caret) in a text input field

2006-05-11 Thread Darren Houle
>From: "d93574" <[EMAIL PROTECTED]> >Reply-To: flexcoders@yahoogroups.com >To: flexcoders@yahoogroups.com >Subject: [flexcoders] Setting the insertion point (caret) in a text input >field >Date: Wed, 10 May 2006 20:51:01 - > >When my application starts I want

Re: [flexcoders] Setting the insertion point (caret) in a text input field

2006-05-10 Thread Michael Schmalle
Hi, You could use an event listener for the controlName component FocusEvent.FOCUS_IN and in the handler event.currentTarget.setSelection(0,0); I am not sure where the setSelection() method comes from throught the event. Most likly it's the currentTarget property. something like that ? setS

[flexcoders] Setting the insertion point (caret) in a text input field

2006-05-10 Thread d93574
When my application starts I want the user to be able to begin typing without having to use the mouse. When I call "controlName".setFocus the focus is set to the correct control, but the mouse caret is not set until I click somewhere in flex application.  It seems the focus is still set on the