Skip to main content

TcxCheckListBox Class

A list box control that enables checking/un-checking of one or more items.

Declaration

TcxCheckListBox = class(
    TcxCustomCheckListBox
)

Remarks

TcxCheckListBox is similar to the standard list box control, but it also displays a check box for every item, thus allowing a user to select and unselect items. This can be useful when you need let the end-user select several options at once. For instance, in a time-scheduling application, you can use a list box with names of weekdays allowing the end-user to select day(s) for a particular event.

To specify items for the check list box, see its Items collection.

It is possible to display items in a grayed state by setting the AllowGrayed property to True.

The CalculateCheckStatesValue and CalculateCheckStates methods let you calculate the editor’s edit value by the items’ check states and vice versa.

See Also