API:Vcl.DBLookup.TDBLookupList.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 TDBLookupList

Description

Provides special processing when the user clicks on the mouse.

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

Provides special processing when the user clicks on the mouse.

MouseDown is called automatically when the user presses the mouse button. If the mouse is pressed in the row or column resize region of the grid, MouseDown posts any pending edits and calls the inherited method to handle the resize. When Options includes dgRowSelect, MouseDown selects the row that received the click, or toggles its selection state if the Ctrl key is pressed. If the mouse is clicked in a data cell, MouseDown tries to put the grid into edit mode.

See Also