Hmm … maybe this will help?

 

rte.textArea.setFocus();

 

you can also control the selection by using

rte.textArea.setSelection(0,1);

 

I think that’s what you’re looking for.

-Evan

 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Britton
Sent: Friday, July 14, 2006 12:15 PM
To: [email protected]
Subject: [flexcoders] RichTextEditor setFocus()?

 

I have a custom component containing a RichTextEditor. How do I set
cursor focus on its internal textarea? I've tried all the obvious
things to no avail.

__._,_.___

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




__,_._,___

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006

Reply via email to