Atozed Forums
TIWMemo cursor position - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWMemo cursor position (/thread-2156.html)



TIWMemo cursor position - denville - 11-28-2020

If I add a line to a (cleared) Memo such as "HELLO THERE ", when the memo get focus the cursor is at the start on the (empty) line below.  Is there a way to place the cursor at the end of the first line so the user can continue typing immediately following the space ?

I can do it manually by simply entering a backspace, is there perhaps a way to 'inject' a BS when the memo gets focus ?

Thanks.


RE: TIWMemo cursor position - kudzu - 11-30-2020

https://stackoverflow.com/questions/512528/set-keyboard-caret-position-in-html-textbox