Vcl.ComCtrls.TToolButton.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.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

Description

Generates an OnClick event.

Click calls any event handler attached to the OnClick event. Override Click to provide other responses in addition to the inherited event-handler call when the user clicks the control or the application simulates a user click.

A control calls Click whenever it receives a left mouse-button mouse-up message (WM_LBUTTONUP) if that message indicates that the mouse up occurred near the corresponding mouse-down. Many controls call Click in other circumstances, such as when a user types the shortcut key for a button or menu item.

See Also