trayicon OnMouseUp event
Return to Introduction  Previous page  Next page
Applies to
acTrayIcon component.  

Declaration
type  
  TMouseEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer) of object;  
 
property OnMouseUp: TMouseEvent;  

Description
The OnMouseUp event occurs when the user releases a mouse button that was pressed with the mouse pointer over a tray icon. Use an OnMouseUp event handler to implement special processing when the user releases a mouse button.  
 
The OnMouseUp event handler can respond to left, right, or center mouse button presses and shift key plus mouse-button combinations. Shift keys are the Shift, Ctrl, and Alt keys. X and Y are the pixel coordinates of the mouse pointer in the client area of the Sender.  

See also
OnMouseDown and OnMouseMove events.