# setFocus question

**URL:** <https://forum.kirupa.com/t/setfocus-question/178859>\
**Category:** Uncategorized\
**Created:** [February 14, 2006, 9:10pm UTC](https://forum.kirupa.com/t/setfocus-question/178859 "2006-02-14T21:10:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beanSoldier](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@beanSoldier](https://forum.kirupa.com/u/beanSoldier)\
**Post date:** [February 14, 2006, 9:10pm UTC](https://forum.kirupa.com/t/setfocus-question/178859/1 "2006-02-14T21:10:59Z")

</div>

when I use Selection.setFocus() and my input textBox already has text in it, is there a way to make the cursor appear at the end of the text so that the user is positioned to start appeneding text to what already exists?

thanks
