TCustomRichView.OnCheckpointVisible

<< Click to display table of contents >>

TCustomRichView.OnCheckpointVisible

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

type

  TRVCheckpointVisibleEvent = procedure(Sender: TCustomRichView;

    CheckpointData: TCheckpointData) of object;

 

property OnCheckpointVisible: TRVCheckpointVisibleEvent;

This event occurs if:

RichView.CPEventKind = cpeWhenVisible for checkpoint that becomes visible;

RichView.CPEventKind = cpeAsSectionStart for visible checkpoint or the nearest checkpoint above visible area.

CheckpointData parameter identifies the checkpoint. It's possible that CheckpointData=nil (no checkpoint visible).

This event never occurs in TRichViewEdit.

 

See also properties:

CPEventKind.

See also methods extracting information from CheckpointData:

GetCheckpointInfo;

GetCheckpointXY;

GetCheckpointYEx;

GetCheckpointItemNo;

GetCheckpointNo.

See also

Checkpoints.