<< Click to display table of contents >> TCustomRichView.SetItemTag |
Changing tag of the ItemNo-th item
procedure SetItemTag(ItemNo: Integer; const ATag: TRVTag);
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.SetItemTag.
Method type: viewer-style. Reformatting or repainting is not necessary.
Example
RichView1.SetItemTag(ItemNo, 'tag #1');
See also methods:
See also properties:
See also methods of RichViewEdit:
See also:
▪Tags.