Vcl.Buttons.TBitBtn.Click
Delphi
procedure Click; override;
C++
DYNAMIC void __fastcall Click();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Buttons.pas Vcl.Buttons.hpp |
Vcl.Buttons | TBitBtn |
Description
Simulates a mouse click, as if the user had clicked the button.
Use Click to simulate a mouse click. Click performs the following tasks:
- If the value of the Kind property is bkClose, Click closes the form.
- If the value of Kind is bkHelp, Click displays the Help screen assigned with the HelpContext property.
- Any associated action fires, or, if there is no associated action, any code attached to the OnClick event is executed.