Vcl.ComCtrls.TCustomComboBoxEx.SelText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelText: string read GetSelText write SetSelText;

C++

__property System::UnicodeString SelText = {read=GetSelText, write=SetSelText};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomComboBoxEx

Description

Represents the selected text in the edit region.

Read SelText to obtain the text that is selected in the edit region of the combo box. When the combo box is the active control, SelText appears highlighted. Set SelText to replace the current selection with a different substring. If no text is selected when a value is assigned to SelText, the SelText string is inserted in the text at the cursor.

See Also