[Overview][Types][Classes][Procedures and functions][Index] |
Deprecated. Event handler signalled when the check box state for a specific item has been changed.
Source position: checklst.pas line 87
public property TCustomCheckListBox.OnItemClick : TCheckListClicked |
OnItemClick is a TCheckListClicked property with the event handler signalled when the check box state has been changed for a specific item in the check list control.
OnItemClick can be used to perform actions needed when the check box State has been toggled. Arguments passed to the event handler identify the check list control (Sender) and the position of the check box (Index) in the Items for the control.
Applications must assign an object procedure that implements the signature for the event handler to respond to the notification.
OnItemClick is signalled from the ItemClick method when the control executes its DoChange (private) or KeyDown methods. This means that the event is signalled when a check box is clicked with the mouse, and when the Space key is pressed on a selected item in the control.
OnItemClick is signalled after the OnClickCheck event handler, and before event handlers like 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 OnClickCheck to perform control-level actions needed when a check box is changed.
Deprecated in LCL version 3.99; use OnClickCheck instead.
|
Deprecated. Performs actions when the specified check box has been changed using the mouse or the keyboard. |
|
|
Handles key down messages for the control. |
|
|
Event handler signalled when a check box in the control has been changed. |
|
|
Defines an object procedure signalled when an item in TCheckListBox is clicked. |
|
|
The list of all items defined in the control. |
|
|
Ordinal position for the currently selected item, -1 if none. |
|
|
Handler invoked when an item is selected in the control. |
|
|
Notification handler for mouse clicks. |
Version 4.0 | Generated 2025-05-03 | Home |