Vcl.ActnMenus.TCustomAddRemoveItem.MouseUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X: Integer;  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.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomAddRemoveItem

Description

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

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.

See Also