Skip to main content
A newer version of this page is available. .

TcxCustomNavigatorButtons.OnButtonClick Event

Enables you to respond to button clicks.

Declaration

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