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 ?
setSelection(beginIndex:int, endIndex:int):void
Peace, Mike
On 5/10/06, d93574 <[EMAIL PROTECTED]> wrote:
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 browser.
Any clues as to get around this?
Thanks
Jim Kohn
--
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.
--
What goes up, does come down.
--
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.