API:Vcl.DBLookup.TPopupGrid.MouseDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseDown(Button: TMouseButton; Shift: TShiftState;  X, Y: Integer); override;

C++

DYNAMIC void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.DbLookup.pas
Vcl.DBLookup.hpp
Vcl.DBLookup TPopupGrid

Description

Responds to the mouse button being held down over the lookup list.

Vcl.DBLookup.TPopupGrid.MouseDown inherits from Vcl.DBLookup.TDBLookupList.MouseDown. All content below this line refers to Vcl.DBLookup.TDBLookupList.MouseDown.

Responds to the mouse button being held down over the lookup list.

The MouseDown method responds to the mouse button being held down over the lookup list. As the user presses a mouse button while within the lookup list, this method is called repeatedly. MouseDown generates an OnMouseDown event.

The Button parameter specifies which mouse button was pressed. The Shift parameter indicates which keys (Shift, Ctrl, and Alt) were down when the mouse button was pressed. X and Y indicate the new position of the mouse pointer.

See Also