Vcl.StdCtrls.TCustomButton.Click
Delphi
procedure Click; override;
C++
DYNAMIC void __fastcall Click();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomButton |
Description
Simulates a mouse click, as if the user had clicked the button.
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.