RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.MouseUp Method

Provides special processing when the user releases the mouse button.

Pascal
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer); override;
C++
virtual __fastcall MouseUp(TMouseButton Button, TShiftState Shift, int X, int Y);

MouseUp is called automatically when the user releases the mouse button. After calling the inherited method, MouseUp locates the cell that was under the mouse when it was released. MouseUp generates an OnTitleClick or OnCellClick event, depending on the location of the mouse. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!