[Overview][Types][Classes][Procedures and functions][Index] |
Deprecated. Performs actions when the specified check box has been changed using the mouse or the keyboard.
Source position: checklst.pas line 69
protected procedure TCustomCheckListBox.ItemClick( |
const AIndex: Integer |
); virtual; |
AIndex |
|
Ordinal position for the check box. |
ItemClick is a method used to perform actions need when the value for the check box item in AIndex has been changed. AIndex is the ordinal position for the check box in the Items for the control. ItemClick signals the OnItemClick event handler (when assigned) using the current class instance and the value in AIndex as arguments.
ItemClick is called when the LM_CHANGED message is handled for the control, and occurs after the ClickCheck method has been called to signal the OnClickCheck event handler.
ItemClick is also called from the KeyDown method when the Space key has been pressed while the control is focused. It occurs after the value in ItemIndex is range adjusted (if needed) and the inherited Click method has been called. In addition, the value in Checked has already been toggled before the method is called. ItemClick is not called for the key event when the check box item in ItemIndex is not enabled.
Deprecated in LCL version 3.99; use ClickCheck instead.
|
Deprecated. Event handler signalled when the check box state for a specific item has been changed. |
|
|
Performs actions needed when a value in the control is about to change. |
|
|
Event handler signalled when a check box in the control has been changed. |
|
|
Handles key down messages for the control. |
|
|
Provides indexed access to the Boolean Checked or Unchecked state for Items in the control. |
|
|
Provides indexed access to the enabled state for Items in the control. |
Version 4.0 | Generated 2025-05-03 | Home |