RAD Studio VCL Reference
TCustomAddRemoveItem.MouseUp Method

Responds when the user releases the mouse button when the mouse cursor is on this menu item.

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

MouseUp is called automatically when the user releases the mouse button over this menu item. This method generates an OnMouseUp event, and forces a repaint of the menu item. 

Button indicates which mouse button the user released (left, right, or middle). 

Shift indicates the state of the Ctrl, Alt, and Shift keys when the mouse was released. 

X and Y indicate the screen coordinates of the mouse cursor's hotspot. 


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