rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.SetItemExtraStrPropertyEd

Top  Previous  Next

An editing-style method for changing value of the specified additional string property of the ItemNo-th item..

procedure SetItemExtraStrPropertyEd(ItemNo: Integer;

  Prop: TRVExtraItemStrPropertyconst Value: String;

  AutoReformat: 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.SetItemExtraStrPropertyEd (or use SetCurrentItemExtraStrProperty).

If AutoReformat=True, this method automatically reformats document and calls OnChange.

If AutoReformat=False (this can be useful if you set several properties of item at once), call Change after it.

 

Method type: editstyle editing-style (unlike SetItemExtraStrProperty).

When possible, use SetCurrentItemExtraStrProperty instead of this method.

 

See also methods:

SetCurrentItemExtraStrProperty;
SetItemExtraIntPropertyEd.

See also methods of TCustomRichView:

SetItemExtraStrProperty.


RichView © Sergey Tkachenko