TCustomCheckListBox.ClickCheck procedure
Performs actions needed when a value in the control is about to change.
Declaration
procedure ClickCheck; virtualDescription
ClickCheck is a method used to perform actions needed when a value
in the control is about to change.
ClickCheck signals the OnClickCheck event handler (when assigned)
using the current class instance as the object for the event notification.
Use OnClickCheck to implement the actions needed when the control
has been changed.
ClickCheck is called when the LM_CHANGED message is handled for
the control, and occurs prior to calling the ItemClick method
where the OnItemClick event handler is signalled.
ClickCheck is also called from the KeyDown method when the
Space key has been pressed while the control has focus. It is called
after ItemIndex has been range adjusted (when needed) and the
inherited Click method is called. In addition, the value in
Checked has already been toggled before the method is called.
ClickCheck is not called for the keystroke when the check box item in
ItemIndex is not enabled.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
