TSRichViewEdit.OnCheckpointVisible

<< Click to display table of contents >>

TSRichViewEdit.OnCheckpointVisible

Occurs when checkpoint (with RaiseEvent flag = True) becomes visible as a result of vertical scrolling.

type

  TSRVCheckpointVisibleEvent = procedure(Sender: TSRichViewEdit;

     RVData: TCustomRVData; ItemNo: Integer) of object;

 

property OnCheckpointVisible: TSRVCheckpointVisibleEvent;

See the event of the same name in the TRichView help file (event of TCustomRichView).

This event has different parameters comparing with the event of TCustomRichView: instead of CheckpointData: TCheckpointData, there are two parameters defining the location of the checkpoint: RVData and ItemNo. You can get the checkpoint as RVData.GetItemCheckpoint(ItemNo).