procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
DYNAMIC void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y);
Responds when the user releases the mouse.
Do not call MouseUp. It is called automatically when the user releases the mouse. As implemented in TToolButton, MouseUp first generates an OnMouseUp event. Then, if the left mouse button while over the tool button and the button's style is tbsDropDown, MouseUp sets the Down property to false. Finally, MouseUp generates an OnClick event.
The Button parameter determines which mouse button the user released.
Shift indicates which shift keys (Shift, Ctrl, or Alt) were down when the user released the mouse button.
X and Y are the pixel coordinates of the mouse pointer within the client area of the control.
MouseUp helps ensure that the tool button's behavior remains unchanged, regardless of the version of ComCtl32.dll that is installed on the users system.