rvico TRichView Reference | TRichView

TCustomRichView.SetItemExtraIntProperty

Top  Previous  Next

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

function SetItemExtraIntProperty(ItemNo: Integer;

  Prop: TRVExtraItemProperty; Value: Integer): Boolean;

(introduced in version 1.7)

This method sets new Value of the item property identified by Prop. See TRVExtraItemProperty for the list of available integer 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.SetItemExtraIntProperty.

Method type: viewerstyle viewer-style. Reformatting or repainting may be needed, depending on the changed property.

 

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

 

See also

GetItemExtraIntProperty;
SetItemExtraStrProperty;
Format.

See also methods of TRichViewEdit

SetItemExtraIntPropertyEd;
SetCurrentItemExtraIntProperty.


RichView © Sergey Tkachenko