TCustomCheckListBox.ItemEnabled property
Provides indexed access to the enabled state for Items in the control.
Declaration
property ItemEnabled[AIndex: Integer]: Boolean read GetItemEnabled write SetItemEnabled;Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
