|
TCustomRichViewEdit.GetCurrentItemText, GetCurrentItemTextA, GetCurrentItemTextW |
Top Previous Next |
|
Returns text for the item at the position of caret. function GetCurrentItemText: String; function GetCurrentItemTextA: String; function GetCurrentItemTextW: WideString; (Introduced in version 1.4, 1.7) For text items, these methods return visible text. For non-text items, they return item name.
GetCurrentItemTextA always returns ANSI string:
GetCurrentItemTextW always returns Unicode string:
GetCurrentItemText: the item text is returned as it is (for Unicode text items, it returns "raw Unicode text"), without conversion, be careful.
These methods must be called only when the document is formatted.
See also methods: See also methods of TCustomRichView: See also properties: See also:
|