TTrayIcon.OnMouseDown property
Event handler signalled when a mouse button down event is detected for the tray icon.
Declaration
property OnMouseDown:;Description
OnMouseDown is a
TMouseEvent property with the event
handler signalled when a mouse button down event is detected for the tray
icon. Arguments passed to the event handler identify:
- Sender
- The object for the event notification.
- Button
- The mouse button for the event.
- Shift
- The state for the Shift / Ctrl / Alt keys.
- X and Y
- The current coordinates for the mouse pointer.
An application must implement and assign an object procedure using the signature for the event handler to respond to the notification.
Use OnMouseUp to respond to the mouse up event for a mouse button.
This description is the one of ExtCtrls.TCustomTrayIcon.OnMouseDown.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
