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

Provides special processing when the user clicks in the pop-up grid.

The MouseDown method is called automatically when the user presses the mouse button while on the pop-up grid. MouseDown sets the pop-up grid into editing mode.

Button specifies the mouse button clicked, X and Y indicate the position of the mouse cursor, while Shift indicates which keys (Shift, Ctrl, and Alt) were down when the mouse was clicked.