FMX.Edit.TCustomEdit.AutoSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSelect: Boolean read GetAutoSelect write SetAutoSelect;

C++

__property bool AutoSelect = {read=GetAutoSelect, write=SetAutoSelect, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TCustomEdit

Description

AutoSelect determines whether all the text in the edit control is automatically selected when the control gets focused.

Set AutoSelect to select all the text when the edit control gets focused. AutoSelect only applies to single-line edit controls.

Use AutoSelect when the user is more likely to replace the text in the edit control than to append to it.