TCustomRichViewEdit.SetCheckpointInfoEd

<< Click to display table of contents >>

TCustomRichViewEdit.SetCheckpointInfoEd

An editing-style method for creating new or modifying the existing checkpoint associated with the ItemNo-th item

procedure SetCheckpointInfoEd(ItemNo: Integer; const ATag: TRVTag;

  const AName: TRVUnicodeString; ARaiseEvent: Boolean);

(changed in version 18)

Parameters

ItemNo – index of the item, from 0 to ItemCount-1. Items of subdocuments (table cells) are not included in the items range of the main document. For items in cells, activate inplace-editor and call SetCheckpointInfoEd of this inplace-editor. Alternatively, you can use SetCurrentCheckpointInfo.

ATag – tag of checkpoint;

AName – name of the checkpoint, any string without line break (CR, LF) characters.

ARaiseEvent – "raise event" flag; if set, RichView can generate OnCheckpointVisible event for this checkpoint.

 

Method type: editstyle editing-style (unlike SetCheckpointInfo).

When possible, use SetCurrentCheckpointInfo instead of this method.

 

See also methods of TCustomRichView:

▪GetItemCheckpoint;

▪SetCheckpointInfo.

See also methods:

▪SetCurrentCheckpointInfo.

See also properties:

▪ItemCount.

See also:

▪Modifying RichView items;

▪"Checkpoints";

▪"Tags".