Skip to main content

TcxCustomCheckComboBoxProperties.OnStatesToEditValue Event

Enables you to convert a check state into an edit value manually.

Declaration

property OnStatesToEditValue: TcxCheckStatesToValueEvent read; write;

Remarks

The OnStatesToEditValue 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 control’s Value property). Handle this event if none of the supported edit value formats suit your needs. Note that in this case, you should also handle the Properties.OnEditValueToStates event. Please refer to the latter event description for details.

The event’s Sender parameter specifies the editor whose check states are converted to edit value. The ACheckStates parameter enables you to determine the current check states. The corresponding edit value should be assigned to the AValue parameter.

See Also