Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.AutoSelect property

Member of TCustomComboBoxpublicIn unit StdCtrls

Selects the entire content of the edit box when the control receives the focus.

Declaration

pascal
property AutoSelect: Boolean read FAutoSelect write FAutoSelect default True;

Description

When True, the edit control will select all its text when:

  • It receives focus
  • The Enter key is pressed.
  • A new item is selected.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.