trichview.com

trichview.support




Re: ScrollTo


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/26/2004 13:35:57


If the checkpoint is in the main editor (not in the table cell):


If you want to move caret, you need to know the index of item containing

this checkpoint.

If you have TCheckpointData value, you can use

ItemNo := rve.GetCheckpointItemNo(CheckpointData).

Then use

rve.SetSelectionBounds(ItemNo, rve.GetOffsBeforeItem(ItemNo), ItemNo,

rve.GetOffsBeforeItem(ItemNo));


If you want to scroll document instead, use ScrollTo with the value returned

by GetCheckpointYEx or GetCheckpointY.





> After scroll to a checkpoint location, how can I move the cursor to the

> checkpoint location?

>

>





Powered by ABC Amber Outlook Express Converter