TCheckListBox.OnClickCheck property
Event handler signalled when a check box in the control has been changed.
Declaration
property OnClickCheck:;Description
OnClickCheck is a
TNotifyEvent property with the event
handler signalled when the check box state for one of the list items has been
changed.
Applications must implement and assign a procedure using the TNotifyEvent signature to respond to the notification. The Sender argument contains the TCheckListBox instance for the notification, and allows access to its properties and methods.
OnClickCheck is signalled (when assigned) from the
ClickCheck method. ClickCheck is called from methods like
DoChange (private) and
KeyDown. This causes
OnClickCheck to be signalled when the mouse is clicked on a check box, and
when the value for the current item is Toggled using the Space key.
OnClickCheck is signalled before other event handlers like
OnItemClick, OnSelectionChange, and OnClick.
OnClickCheck and OnItemClick are not signalled when the checked state for an
item is changed in code using Checked, State,
CheckAll, or Toggle.
Use OnItemClick for the event signalled with the item index for
the affected check box in the control.
This description is the one of CheckLst.TCustomCheckListBox.OnClickCheck.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
