selText

Type: String

Availability: Not available at design time, read or write at run time

The selText property contains the string of the currently selected text, consisting of an empty string ("") if no characters are selected in a ComboBox, TextBox, JadeRichText, or JadeTextEdit control. Use this property for tasks such as setting the insertion point, establishing an insertion range, selecting substrings in a control, or clearing text.

Setting the selText property to a new value sets the selLength property to zero (0) and replaces the selected text with the new string. If there is no text selected in the control, the text is inserted at the current caret position.

For the JadeRichText control, the selText property contains the string of the currently selected text as plain text format, consisting of an empty string ("") if no characters are selected. For the JadeTextEdit control, no end-of-line conversion is performed when the selText property is set or retrieved.