FMX.Edit.TEdit.AutoSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSelect default TCustomEditModel.DefaultAutoSelect;

C++

__property AutoSelect = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TEdit

Description

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

FMX.Edit.TEdit.AutoSelect inherits from FMX.Edit.TCustomEdit.AutoSelect. All content below this line refers to FMX.Edit.TCustomEdit.AutoSelect.

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

You can use AutoSelect in the following cases:

  • To select all the text when the edit control gets focused. AutoSelect only applies to single-line edit controls.
  • When the user is more likely to replace the text in the edit control than to append to it.

See Also