RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.MouseUp Method

Mouse button up event dispatcher.

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

TCustomListView overrides the protected MouseUp method to suppress the OnMouseUp event when a click is not on a list item. 

MouseUp is called internally in response to any of the Windows mouse-up messages (WM_LBUTTONUP, WM_MBUTTONUP, WM_RBUTTONUP), decoding the message parameters into the shift-key state and position, which it passes in the Shift, X, and Y parameters, respectively. The value of the Button parameter depends on which of the Windows messages triggered the event. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!