trichview.com

trichview.support




Save Caret Position


Return to index


Author

Message

Marc

Posted: 08/06/2004 23:31:53


I want to save the current caret position to restore later. I can use this

to save:


ItemNo:=rve.TopLevelEditor.CurItemNo;

Offs:=rve.TopLevelEditor.OffsetInCurItem;


and this to restore:


rve.SetSelectionBounds(ItemNo,Offs,ItemNo,Offs);


However, if the caret is inside a table the above code does not work. How

do I save and restore the caret postion inside a table?


Thanks





Powered by ABC Amber Outlook Express Converter