Skip to main content

TcxNavigatorButton.DoClick Method

Generates the OnClick event in response to clicking the button.

Declaration

procedure DoClick; dynamic;

Remarks

This method is called after a navigator button has been clicked. It performs the action associated with the selected button via the appropriate method: TcxDBNavigatorButtons.DoButtonClick or TcxNavigatorControlButtons.DoButtonClick. To customize or cancel the default button action, handle the button’s OnClick event and/or the button collection’s OnButtonClick event. Alternatively, you can create your custom button collection and override the DoButtonClick method in order to provide your custom logic.

See Also