# Position of cursor in textfield (not mouse!)

**URL:** <https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/132375>\
**Category:** Uncategorized\
**Created:** [December 27, 2004, 11:58pm UTC](https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/132375 "2004-12-27T23:58:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voccart](https://avatars.discourse-cdn.com/v4/letter/v/ea5d25/32.png) [@Voccart](https://forum.kirupa.com/u/Voccart)\
**Post date:** [December 27, 2004, 11:58pm UTC](https://forum.kirupa.com/t/position-of-cursor-in-textfield-not-mouse/132375/1 "2004-12-27T23:58:59Z")

</div>

hi,

i’ve searched for it but couldnt find what i need.  
i have a inputfield (instance: enterSbMessage\_txt) so, when i type a few characters in it and user presses a button i want to know the exact position of the blinking cursor. i cannot find the as code to get these values.

thanks
