Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCheckListBox.OnCheckStatesToEditValue Event

In This Article

Enables you to convert check states to the edit value manually.

#Declaration

Delphi
property OnCheckStatesToEditValue: TcxCheckStatesToEditValueEvent read; write;

#Remarks

The OnCheckStatesToEditValue event fires each time the check states change (when an end-user clicks individual check boxes or when the check states are changed via code using the items’ State property or editor’s EditValue property). Handle this event if none of supported edit value formats suits your needs. Note that in this case, you should also handle the OnEditValueToCheckStates event. Please refer to the latter event description for details.

The event’s ACheckStates parameter enables you to determine the current check states. The corresponding edit value should be written to the AEditValue parameter.

Note

Use the CalculateCheckStatesValue and CalculateCheckStates methods to calculate the editor’s edit value by the items’ check states and vice versa.

See Also