|
TCustomRichViewEdit.SetCurrentItemExtraIntProperty |
Top Previous Next |
|
Changes value of additional integer property for the item at the position of caret. procedure SetCurrentItemExtraIntProperty(Prop: TRVExtraItemProperty; Value: Integer; AutoReformat: Boolean); (introduced in version 1.7) SetCurrentItemExtraIntProperty(...) is equivalent to TopLevelEditor.SetItemExtraIntPropertyEd(TopLevelEditor.CurItemNo, ...). This method sets a new Value of the item's property identified by Prop. See TRVExtraItemProperty for the list of available integer 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 it between calls of BeginItemModify and EndItemModify, and call Change after. Method type:
See also methods: See also methods of TCustomRichView: |