TColorListBox.OnSelectionChange property
Handler invoked when an item is selected in the control.
Declaration
property OnSelectionChange:;Description
OnSelectionChange is a
TSelectionChangeEvent property
with the event handler signalled when an item selection on the control has been
changed. OnSelectionChange is signalled (when assigned) from the
DoSelectionChange method, and occurs prior to calling the
Click method for the control.
The User argument indicates whether the selection change results
from user interaction with the control (True), or from code or methods
called at run-time (False).
Use OnClick to perform actions when the mouse is clicked on an item on the list box control.
Use ClickOnSelChange to indicate whether Click / OnClick are called when the left mouse button is released during a click action or when OnSelectionChanged is performed for the control.
This description is the one of StdCtrls.TCustomListBox.OnSelectionChange.
See also
- DoSelectionChange
- Click
- OnClick
- ClickOnSelChange
- SelectRange
- MultiSelect
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
