TCustomEdit.ClearSelection procedure
Clears the current text selection in the edit control.
Declaration
procedure ClearSelection; virtualDescription
ClearSelection is a procedure used to clear the currently selected
text in the edit control. ClearSelection sets the value in
SelText
to an empty string ('') to discard selected value in the edit control. It
does
not affect the values in the
Text property.
No actions are performed in the method when SelLength contains
0 (zero).
Use HideSelection to disable text selection in the edit control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
