TCustomComboBox.SelectAll procedure
Selects the text content in the edit box for the control.
Declaration
procedure SelectAllDescription
SelectAll is a procedure used to select/highlight the
Text displayed in the edit box for the control. SelectAll requires
a
Style that uses an edit box in the control. No actions are
performed in the method when Style does not include an enabled edit box.
SelectAll sets the value in SelStart to 0 (zero) to move
the selection to the beginning of the edit box, and sets SelLength
to the number of UTF-8-encoded characters in Text. No selection/highlighting
is performed when Text contains an empty string ('').
SelectAll is called from methods like DoEnter, KeyUp,
CloseUp, and MouseUp.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
