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

TcxCustomNavigatorButtons.OnButtonClick Event

In This Article

Enables you to respond to button clicks.

#Declaration

Delphi
property OnButtonClick: TcxNavigatorButtonClickEvent read; write;

#Remarks

Handle this event if you need to implement custom behavior for navigator buttons.

Sender provides access to the button collection (a TcxCustomNavigatorButtons descendant) whose button has been clicked.

AButtonIndex identifies the clicked button. This parameter value matches the clicked button’s DefaultIndex property value.

ADone specifies whether the navigator control should perform default actions in response to a button click. If you have implemented all the required actions in the OnButtonClick event handler and default processing implemented by the DoButtonClick method is not required, set the ADone parameter to True. Generally, there is no need to modify ADone when handling clicks on custom buttons since there is no default (predefined) functionality associated with them.

See Also