|
TCustomRichViewEdit.SetCurrentItemExtraStrProperty |
Top Previous Next |
|
Changes value of additional string property for the item at the position of caret procedure SetCurrentItemExtraStrProperty(Prop: TRVExtraItemStrProperty; const Value: String; AutoReformat: Boolean); (introduced in version 1.9) SetCurrentItemExtraStrProperty(...) is equivalent to TopLevelEditor.SetItemExtraStrPropertyEd(TopLevelEditor.CurItemNo, ...). This method sets a new Value of the item's property identified by Prop. See TRVExtraItemStrProperty for the list of available string properties. 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), you need to call Change after. Method type:
See also methods: See also methods of TCustomRichView: |