Vcl.ActnCtrls.TCustomButtonControl.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.ActnCtrls.pas Vcl.ActnCtrls.hpp |
Vcl.ActnCtrls | TCustomButtonControl |
Description
Is an OnMouseUp event dispatcher.
A control calls MouseUp 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 indicates which mouse button was released: left, right, or middle.