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

TcxNavigatorControlButtons.DoButtonClick(Integer) Method

Implements the appropriate functionality for each non-db navigator button.

#Declaration

Delphi
procedure DoButtonClick(ADefaultIndex: Integer); override;

#Parameters

Name Type
ADefaultIndex Integer

#Remarks

The DoButtonClick method overrides the TcxCustomNavigatorButtons.DoButtonClick method implementation and provides default actions for non-db navigator buttons. This method is called after a navigator button has been clicked and you did not prohibit default click processing in an OnButtonClick event handler.

The ADefaultIndex parameter specifies the clicked button index within the Buttons collection. According to this index, the appropriate action should be executed.

In contrast to db navigator buttons, whose actions are dataset-specific, the TcxNavigatorControlButtons.DoButtonClick method associates navigator buttons with the IcxNavigator.DoAction interface method implementation.

See Also