Show: Delphi C++
Display Preferences

Vcl.FileCtrl.TFileListBox.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
protected
Vcl.FileCtrl.pas
Vcl.FileCtrl.hpp
Vcl.FileCtrl TFileListBox

Description

Respond to user click.

Vcl.FileCtrl.TFileListBox.Click inherits from Vcl.Controls.TControl.Click. All content below this line refers to Vcl.Controls.TControl.Click.

Respond to user click.

Click is called automatically when the user left-clicks the control. Component or application code can call Click to simulate a user mouse click. This is often done in menu actions and hotkey handlers.

As implemented in TControl, Click queries whether the OnClick event handler exists and is different from the OnExecute handler for the control's Action. If this is true, the OnClick event handler is called. If this is false, and the Action OnExecute event handler exists, the Action's Execute method is called. Override Click to provide additional behavior.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance