rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.SetItemTagEd

Top  Previous  Next

Changes tag of the ItemNo-th item.

procedure SetItemTagEd(ItemNo: Integer; ATag: Integer);

Items are indexed 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, use Cell.GetRVData.SetItemTagEd (or use SetCurrentTag).

Tag can be an integer value or a pointer to dynamically allocated string, see Tags.

Method type: editstyle editing-style, unlike SetItemTag.

When possible, use SetCurrentTag instead of this method.

 

See also methods of TCustomRichView:

GetItemTag;
SetItemTag.

See also methods:

SetCurrentTag.

See also properties:

ItemCount.

See also:

Modifying RichView items;
"Tags".


RichView © Sergey Tkachenko