rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.GetCurrentItemExtraIntProperty

Top  Previous  Next

Returns value of the specified integer property of item at the position of caret

function GetCurrentItemExtraIntProperty(

  Prop: TRVExtraItemPropertyvar Value: Integer): Boolean;

(introduced in version 1.7)

GetCurrentItemExtraIntProperty(...) is equivalent to TopLevelEditor.GetItemExtraIntProperty(TopLevelEditor.CurItemNo, ...).

Value receives value of the property identified by Prop. See TRVExtraItemProperty for the list of available properties.

This method must be called only when the document is formatted.

Return value

True, if this item has this property. False, if not.

See also

SetCurrentItemExtraIntProperty (sets value of integer property for item at the position of caret, as an editing operation);
SetItemExtraIntPropertyEd (sets value of integer property for the specified item, as an editing operation);
GetCurrentItemExtraStrProperty (returns value of the specified string property of item at the position of caret).

See also methods of TRichView

GetItemExtraIntProperty.


RichView © Sergey Tkachenko