|
TCustomRichViewEdit.SetCurrentItemText, SetCurrentItemTextA, SetCurrentItemTextW |
Top Previous Next |
|
Changes text of text item or a name of non-text item at the position of caret. procedure SetCurrentItemText(const s: String); procedure SetCurrentItemTextA(const s: String); procedure SetCurrentItemTextW(const s: WideString); (Introduced in version 1.4, 1.7)
s – text assigned to the item. For text items, this is a visible text. For non-text item, this is a string value associated with the item (not displayed). S must not contain line break (CR and LF) characters. For text items, it must not contain CR, LF, TAB, FF characters (#13, #10, #9, #12).
SetCurrentItemTextA sets text from ANSI string:
SetCurrentItemTextW sets text from Unicode string:
SetCurrentItemText: the text is assigned as it is, without conversion. Be careful, incorrect text assignment may damage document.
Methods type:
See also methods: See also methods of TCustomRichView: See also properties: See also:
|