TCustomRichViewEdit.GetCurrentTag

<< Click to display table of contents >>

TCustomRichViewEdit.GetCurrentTag

Returns tag of the item at the caret position

function GetCurrentTag: TRVTag;

The same as TopLevelEditor.GetItemTag(TopLevelEditor.CurItemNo).

Use SetCurrentTag to change tag of item at the caret position, as an editing operations.

 

This method must be called only when the document is formatted.

 

See also methods:

SetCurrentTag.

See also properties:

CurItemNo.

See also

"Tags".