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

TdxCustomLayoutCheckableItem.OnClick Event

In This Article

Enables you to respond to a state change of the layout check box or radio button.

#Declaration

Delphi
property OnClick: TNotifyEvent read; write;

#Remarks

This event occurs every time the checkable layout item changes its state. Handle the OnClick event to execute custom code in response to:

  • A click on the item.

  • A spacebar keystroke while the item has focus.

  • A state change performed in code.

Use the Sender parameter to identify the item that raised the OnClick event. Cast the parameter value to the TdxLayoutCheckBoxItem or TdxLayoutRadioButtonItem class to access class-specific members that layout check boxes and radio buttons provide.

See Also