Vcl.StdCtrls.TCustomButton.Click

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also