Skip to main content

TcxCustomNavigatorButtons.DoButtonClick(Integer) Method

Implements the default functionality associated with a navigator button.

Declaration

procedure DoButtonClick(ADefaultIndex: Integer); virtual;

Parameters

Name Type
ADefaultIndex Integer

Remarks

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.

The TcxCustomNavigatorButtons class is the base class and its DoButtonClick method does nothing. To learn how this method is overridden in TcxCustomNavigatorButtons descendants, refer to the corresponding topics.

See Also