|Top Previous Next|
The methods return a value of the specified string property of the item at the position of caret
Prop: TRVExtraItemStrProperty; var Value: String): Boolean;
Prop: Integer; var Value: String): Boolean;
(introduced in versions 1.9 and 15)
Value receives value of the property identified by Prop.
In GetCurrentItemExtraStrProperty, Prop's type is TRVExtraItemStrProperty. See information about this type for the list of properties.
In GetCurrentItemExtraStrPropertyEx, Prop's type is Integer. If Prop can be converted to TRVExtraItemStrProperty, GetCurrentItemExtraStrPropertyEx works like GetCurrentItemExtraStrProperty. In addition, it supports properties identified by rvespc*** constants
This method must be called only when the document is formatted.
True, if this item has this property. False, if not.
Unicode note: string properties are Unicode strings for Delphi/C++Builder 2009 or newer, and ANSI strings for older versions of Delphi/C++Builder.
▪SetCurrentItemExtraStrProperty[Ex] (set a value of a string property for the item at the position of caret, as an editing operation);
▪SetItemExtraStrProperty[Ex]Ed (set a value of a string property for the specified item, as an editing operation);
See also methods of TRichView:
TRichView © trichview.com