Vcl.StdCtrls.TEdit.AutoSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSelect;

C++

__property AutoSelect = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TEdit

Description

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

Vcl.StdCtrls.TEdit.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