trichview.com

trichview.support




Re: Move cursor


Return to index


Author

Message

Sergey Tkachenko

Posted: 11/14/2003 16:28:47


Yes, it will work.


Or, without using this unit:


rve.SetSelectionBounds(0, rve.GetOffsBeforeItem(0), 0,

rve.GetOffsBeforeItem(0));


Moving to the end:


ItemNo := rve.ItemCount-1;

rve.SetSelectionBounds(ItemNo, rve.GetOffsAfterItem(ItemNo), ItemNo,

rve.GetOffsAfterItem(ItemNo));



> I have found the answer

>

> uses ...RVLinear;

> RVSetLinearCaretPos(RichViewEdit1, 1);

>

> Maybe it will be useful for others.





Powered by ABC Amber Outlook Express Converter