Vcl.ExtCtrls.TButtonedEdit.AutoSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSelect: Boolean read FAutoSelect write FAutoSelect default 1;

C++

__property AutoSelect = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TButtonedEdit

Description

Determines whether all the text in the edit control is automatically selected when the control gets focus.

Vcl.ExtCtrls.TButtonedEdit.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.

See Also