Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomEdit.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.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Specifies the selected portion of the edit control's text.

Read SelText to determine the value of the selected text. Set SelText to replace the selected text with a new string. If there is no selection, but the edit control has focus, set SelText to insert a new string into the text at the cursor.

See Also


Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance