Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.Select procedure

Member of TCustomComboBoxprotectedIn unit StdCtrls

Signals the OnSelect event handler when ItemIndex is changed.

Declaration

pascal
procedure Select; virtual

Description

Select is a procedure called when the item selection in the drop-down list for the control has changed. This can happen when text is entered and auto-completion is enabled, or when a new value is selected from the drop-down list.

Select signals the OnSelect event handler (when assigned). For Delphi compatibility, the event handler is not signalled when ItemIndex contains -1 (Text is not located in the Items for the control).

See also

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