FMX.Edit.TCustomEdit.SelText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelText: string read GetSelText;

C++

__property System::UnicodeString SelText = {read=GetSelText};

Properties

Type Visibility Source Unit Parent
property public
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit 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