Vcl.Bind.Navigator.TCustomBindNavigator.BtnClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BtnClick(Index: TNavigateButton); virtual;

C++

virtual void __fastcall BtnClick(Data::Bind::Controls::TNavigateButton Index);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Bind.Navigator.pas
Vcl.Bind.Navigator.hpp
Vcl.Bind.Navigator TCustomBindNavigator

Description

Simulates a button click on the bind navigator, invoking the action of the button.

Use BtnClick when you want the application, not the user, to control the database navigator. Call BtnClick, and specify a TNavButton 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.

See Also