Selection.setSelection(yourText.length, yourText.length);

----- Original Message ----- 
From: "Josh Noland" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 11, 2005 8:32 PM
Subject: [flexcoders] Moving Cursor inside textArea



Does anybody know how to move the cursor inside a textArea?  I am
implementing a system that allows a user to use shortcut phrases that are
exploded into text.  For instance when the user types hz it is exploaded to
horizontal.  The problem I am having is that when I add the additional
characters the cursor is still in the middle of the word so I need to move
it to the end of the entered text.

Josh







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








------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hkjsimd/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123815378/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

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


Reply via email to