procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); virtual;
virtual void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);
OnMouseUp event dispatcher.
Button parameter determines which mouse button was previously pressed: left, right, or middle.
Shift indicates which shift keys (SHIFT, CTRL, or ALT) were down when the pressed mouse button is released.
Y are the pixel coordinates of the mouse pointer within the client area of the control.
A control calls MouseUp in response to any of mouse-up messages, decoding the message parameters into the shift-key state and position, which it passes in the
Y parameters, respectively.
Override the protected MouseUp method to provide other responses when the mouse button previously pressed is released while the cursor is over the control.