|
TCustomRichView.FindCheckpointByTag |
Top Previous Next |
|
Returns the first checkpoint having the specified tag, or nil if there is no such checkpoint function FindCheckpointByTag(Tag: Integer): TCheckpointData;
This function performs a smart searching: it takes "tags" mode into account. If rvoTagsArePChars in Options, this method treats the specified tag as a pointer to string, and compares strings. Example: var s: String; CheckpointData: TCheckpointData; ... s := 'Tag_String_Example'; CheckpointData := MyRichView.FindCheckpointByTag(Integer(PChar(s)));
If rvoTagsAPChars is not in Options, this method treats the specified tag as an integer value Example: var CheckpointData: TCheckpointData; ... CheckpointData := MyRichView.FindCheckpointByTag(1999);
See also methods: See also:
|