RAD Studio VCL Reference
TDBNavigator.BtnClick Method

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

procedure BtnClick(Index: TNavigateBtn); virtual;
virtual __fastcall BtnClick(TNavigateBtn Index);

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.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!