rvico TRichView Reference | TRichView

TCustomRichView.SetItemExtraStrProperty

Top  Previous  Next

Changes value of the specified additional string property of the ItemNo-th item.

function SetItemExtraStrProperty(ItemNo: Integer;

  Prop: TRVExtraItemStrPropertyconst Value: String): Boolean;

(introduced in version 1.9)

This method sets new Value of the item property identified by Prop. See TRVExtraItemStrProperty for the list of available string properties.

ItemNo – index of the item, 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.SetItemExtraStrProperty

Method type: viewerstyle viewer-style. Reformatting or repainting is not necessary.

unicode Unicode note: string properties are ANSI strings.

 

Return value: True, if this item has this property. False, if not.

 

See also:

GetItemExtraStrProperty;
SetItemExtraIntProperty.

See also methods of TRichViewEdit:

SetItemExtraStrPropertyEd;
SetCurrentItemExtraStrProperty.


RichView © Sergey Tkachenko