rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.SetItemTagEd

Top  Previous  Next

Changes tag of the ItemNo-th item.

procedure SetItemTagEd(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, activate inplace-editor, select the proper item in the cell  (SelSelectionBounds), and call SetItemTagEd of this inplace-editor. Alternatively, you can 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".


TRichView © trichview.com