Skip to main content

TcxNavigatorButton.OnClick Event

Enables you to respond to button clicks.

Declaration

property OnClick: TNotifyEvent read; write;

Remarks

Navigator buttons already have default actions that occur when they are clicked, so it is not usually necessary to write an OnClick event handler. You can customize or cancel a default button action by handling 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