Vcl.DBCtrls.TDBNavigator.OnClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnClick: ENavClick read FOnNavClick write FOnNavClick;

C++

__property ENavClick OnClick = {read=FOnNavClick, write=FOnNavClick};

Properties

Type Visibility Source Unit Parent
event published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBNavigator

Description

Occurs when a button on the database navigator is clicked, after the action is executed.

Use the OnClick event handler to write code that responds to the click event. Because the buttons on the navigator already have default actions that occur when they are clicked, it isn't necessary to write an OnClick event handler.

The OnClick event occurs when

The user clicks one the buttons on the navigator with the mouse

The user presses Spacebar while the navigator has focus.

The BtnClick method is called.

Note: The OnClick event occurs after the default action for the clicked button.

See Also