FMX.Edit.TCustomEdit.AutoSelect
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.
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.