SelText: String;
The SelText property determines the text selected in the component.
This property returns the selected text that is shown starting with the SelStart position and that is SelLength characters long.
Setting this property, if there is selected text in the component, this text is changed. If there is no selection, the set value is added to the position, in which the cursor is placed.
The property use is given in the example for IComboBox.SelLength.
See also: