# \[TextArea\] SelectionStart and Current Position

**URL:** <https://forum.xojo.com/t/textarea-selectionstart-and-current-position/87648>\
**Category:** General\
**Created:** [February 6, 2026, 12:48pm UTC](https://forum.xojo.com/t/textarea-selectionstart-and-current-position/87648 "2026-02-06T12:48:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [February 6, 2026, 12:48pm UTC](https://forum.xojo.com/t/textarea-selectionstart-and-current-position/87648/1 "2026-02-06T12:48:52Z")

</div>

The Documentation states for DesktopTextArea.SelectionStart:

 ![image](https://forum.xojo.com/uploads/default/original/3X/b/5/b5937b83bf30b77df431495152ba51cd3c9076c1.png)

So, `SelectionStart` means `CursorPosition` ?  
(a.k.a. `SelectionStart = CursorPosition`)

I was seeking in the Documentation how to get the cursor position and found nothing. Because it was a long time since I dealed with the DesktopTextArea, I was searching something like Current Position or Cursor Position or…  
Then I was `.SelectionStart`. I only wanted to set the Cursor position to insert text there.

Misnamed feature or another Property must be added to set the Text insertion position ?

---

<div class="post-metadata">

**Author:** ![William\_OKeefe](https://forum.xojo.com/user_avatar/forum.xojo.com/william_okeefe/32/6553_2.png) [@William\_OKeefe](https://forum.xojo.com/u/William_OKeefe)\
**Post date:** [February 6, 2026, 1:53pm UTC](https://forum.xojo.com/t/textarea-selectionstart-and-current-position/87648/2 "2026-02-06T13:53:55Z")

</div>

TextArea.SelectionStart will give you the current position of the cursor (which equals the position for starting an insertion or selection): Var currentCursorPos As Integer = DesktopTextArea.SelectionStart
