RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomButton.Click Method

Simulates a mouse click, as if the user had clicked the button.

Pascal
procedure Click; override;
C++
virtual __fastcall Click();

Calling Click assigns the value of the button's ModalResult property to the ModalResult property of its parent form, and then generates an OnClick event. 

 

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