RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TButton.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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!