TColorBox.OnSelect property
Handler invoked when an item is selected.
Declaration
property OnSelect:;Description
OnSelect is a
TNotifyEvent property with the event
handler signalled when an item is selected in the list box for the control.
OnSelect is signalled (when assigned) from the Select method when
ItemIndex contains a positive non-zero value. Select (and
subsequently OnSelect) are called from multiple methods in TCustomComboBox.
SelectItem calls Select when the value in ItemIndex is changed as
a result of assigning a value to Text. KeyUp calls
Select when the value in Text is updated by auto-completion features in the
control. Select is also called when the LM_SelChange message is
handled for the control.
Implement and assign an object procedure to the handler to respond to the event notification.
This description is the one of StdCtrls.TCustomComboBox.OnSelect.
See also
- Select
- SelectItem
- ItemIndex
- Items
- KeyUp
- TNotifyEvent
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
