# Crursor on SetFocus

**URL:** https://forum.kirupa.com/t/crursor-on-setfocus/275750
**Category:** flash
**Created:** [November 18, 2008, 11:30am UTC](https://forum.kirupa.com/t/crursor-on-setfocus/275750 "2008-11-18T11:30:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lopezio](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@lopezio](https://forum.kirupa.com/u/lopezio)
#### Post date: [November 18, 2008, 11:30am UTC](https://forum.kirupa.com/t/crursor-on-setfocus/275750/1 "2008-11-18T11:30:30Z")

</div>

Hi  
Please look at the following code:

Selection.setFocus("\_root.T1\_txt");  
T1\_txt.text=“Ola”;

I want to do the following the cursor must be at the end of the text Ola (expecting the new character) and not at the begin of the text.  
Anyone help me please.  
Thank you
