[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.ClearSelection

Unselect a possibly selected item (ItemIndex becomes -1).

Declaration

Source position: stdctrls.pp line 380

public procedure TCustomComboBox.ClearSelection;

Description

The text selection is not affected. Set SelLength to zero to remove a selection from the text box.

See also

TCustomComboBox.SelLength

  

The number of selected UTF-8 characters in the edit box.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.