|
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: TRVExtraItemStrProperty; const 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: When possible, use SetCurrentItemExtraStrProperty instead of this method.
See also methods: See also methods of TCustomRichView: |