[Overview][Types][Classes][Procedures and functions][Index] |
Provides indexed access to the enabled state for Items in the control.
Source position: checklst.pas line 84
public property TCustomCheckListBox.ItemEnabled[AIndex: Integer] : Boolean |
ItemEnabled is an indexed Boolean property which provides access to the enabled state for Items in the control. When the property value is True, the item can be selected to change its State or Checked values. When it is False, it behaves as if the check box has been disabled for the item.
Reading the value for the property cause the CheckIndex method to be called to validate the value in Index. If a handle has been allocated for the control, the GetItemEnabled method in the widget set class is called to get the value for the property. Otherwise, the disabled state in cached item data is examined to get the property value.
Setting the value for the property causes the CheckIndex method to be called to validate the value in Index. If a handle has been allocated for the control, the SetItemEnabled method in the widget set class is called to set the value for the property. Otherwise, the disabled state in cached item data is update with the new property value.
Use the Enabled property to indicate whether the check list box control can be updated.
|
Indicates if the item can use the "grayed" (or unselectable) check box state. |
|
|
The list of all items defined in the control. |
|
|
Determines whether the control responds to mouse or keyboard input. |
Version 4.0 | Generated 2025-05-03 | Home |