[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ComboEx' (#lcl)

TCustomCheckCombo.CheckItemStates

Ensures that check box item state classes have been allocated for items in the control.

Declaration

Source position: comboex.pas line 305

protected procedure TCustomCheckCombo.CheckItemStates;

Description

CheckItemStates is a procedure used to ensure that TCheckComboItemState class instances exist for the Items defined in the control. CheckItemStates iterates over the values in Items to determine if its Objects property contains a valid TCheckComboItemState instance. An Exception is raised when the object is not derived from TCheckComboItemState.

CheckItemStates is used in the implementation of the InitializeWnd and AsyncCheckItemStates methods.

Errors

Raises an Exception when a check box in Items does not have a valid TCheckComboItemState object.

See also

TCustomComboBox.Items

  

The list of items displayed in the combo-box control.

TCustomCheckCombo.InitializeWnd

  

Initializes the window handle for the control.

TCheckComboItemState

  

Represents state and data for a check box item displayed in TCustomCheckCombo.

TStrings.Objects


Version 4.0 Generated 2025-05-03 Home