Hello Sergey,
Yes, the 'Format' call figured this out. Thanks!
Search found 2 matches
- Thu Jul 26, 2007 12:14 pm
- Forum: Support
- Topic: How to set cursor at the end of document ?
- Replies: 8
- Views: 24897
- Mon Jul 23, 2007 1:28 pm
- Forum: Support
- Topic: How to set cursor at the end of document ?
- Replies: 8
- Views: 24897
Could not make this work
Hello,
I tried the code you suggested but to no avail. I got 'List index out of bounds (-1)' error. I added one item into RichView to test this in order to add text to the end of the document:
var
ItemNo, Offs: Integer;
...
ItemNo := MyRichViewEdit.ItemCount-1;
Offs := MyRichViewEdit ...
I tried the code you suggested but to no avail. I got 'List index out of bounds (-1)' error. I added one item into RichView to test this in order to add text to the end of the document:
var
ItemNo, Offs: Integer;
...
ItemNo := MyRichViewEdit.ItemCount-1;
Offs := MyRichViewEdit ...