Vcl.ComCtrls.TCustomListView.MouseUp
Delphi
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
C++
DYNAMIC void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Mouse button up event dispatcher.
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.