Vcl.DBCtrls.TDBNavigator.BtnClick
Delphi
procedure BtnClick(Index: TNavigateBtn); virtual;
C++
virtual void __fastcall BtnClick(TNavigateBtn Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBNavigator |
Description
Simulates a button click on the database navigator, invoking the action of the button.
Use BtnClick when you want the application, not the user, to control the database navigator. Call BtnClick, specifying a TNavigateBtn type as the value of the Index parameter, to invoke the command associated with the selected button.
Note: Calling BtnClick triggers the navigator's OnClick event after the default action of the button.