Returns or sets the string containing the currently selected text. It is a zero-length string if no characters are selected. This property can be used in conjunction with the SelStart and SelLength properties for tasks such as selecting substrings or clearing text. In conjunction with the clipboard these properties are useful for copy, cut, and paste operations.
TXTextControl.SelText [= value]
Setting this property to a new value sets SelLength to 0 and replaces the selected text with the new string.
Run time only.