API:Vcl.Mask.TMaskEdit.AutoSelect
Delphi
property AutoSelect: Boolean read FAutoSelect write FAutoSelect default 1;
C++
__property AutoSelect = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Mask.pas Vcl.Mask.hpp |
Vcl.Mask | TMaskEdit |
Description
Determines whether all the text in the edit control is automatically selected when the control gets focus.
Vcl.Mask.TMaskEdit.AutoSelect inherits from Vcl.StdCtrls.TCustomEdit.AutoSelect. All content below this line refers to Vcl.StdCtrls.TCustomEdit.AutoSelect.
Determines whether all the text in the edit control is automatically selected when the control gets focus.
Set AutoSelect to select all the text when the edit control gets focus. 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.