And that works for you? Cos it doesn't for me.
Using -1 is slightly easier than querying TextLength(), but without the Scroll(), it doesn't cause the selection to be visible if the file is longer than then window. At least not for me.
In reply to Re^6: Cursor at end of Richedit control
by BrowserUk
in thread Cursor at end of Richedit control
by briannz556
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |