|Top Previous Next|
The methods change a value of the specified additional string property of the ItemNo-th item.
function SetItemExtraStrProperty(ItemNo: Integer;
Prop: TRVExtraItemStrProperty; const Value: String): Boolean;
function SetItemExtraStrProperty(ItemNo, Prop: Integer;
const Value: String): Boolean;
(introduced in versions 1.9 and 15)
This methods set a new Value of the item property identified by Prop.
In SetItemExtraStrProperty, Prop's type is TRVExtraItemStrProperty. See information about this type for the list of properties.
In SetItemExtraStrPropertyEx, Prop's type is Integer. If Prop can be converted to TRVExtraItemStrProperty, SetItemExtraStrPropertyEx works like SetItemExtraStrProperty. In addition, it supports properties identified by rvespc*** constants
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[Ex].
Method type: viewer-style. Reformatting or repainting may be needed, depending on the changed property.
Unicode note: string properties are Unicode strings for Delphi/C++Builder 2009 or newer, and ANSI strings for older versions of Delphi/C++Builder.
Return value: True, if this item has this property. False, if not.
See also methods of TRichViewEdit:
TRichView © trichview.com