[Overview][Constants][Types][Classes][Procedures and functions][Index] |
MouseDown handles mouse down messages in the control and signals the OnMouseDown event handler
Source position: dbgrids.pas line 496
protected procedure TCustomDBGrid.MouseDown( |
Button: TMouseButton; |
Shift: TShiftState; |
X: Integer; |
Y: Integer |
); override; |
MouseDown handles mouse button clicks (when cllowed) in the control. MouseDown ensures that the specified Button and State are correctly applied to the control similar to the processing provided in KeyDown method. MouseDown translates screen coordinates into the row and column numbers used in the control and performs actions needed for focus selection editing or navigation.
MouseDown signals the OnMouseDown event handler when assigned in the class instance.
lazarus-ccr.sourceforge.net |