TTrayIcon.OnClick property
Event handler signalled when a mouse button is single-clicked on the tray icon.
Declaration
property OnClick:;Description
OnClick is a TNotifyEvent property with the event handler signalled when the Left mouse button is single-clicked on the tray icon. An application can implement and assign an object procedure to the event handler to perform any actions needed when the tray icon is clicked.
Use OnDblClick to perform actions needed when the Left mouse button is double-clicked on the tray icon.
Use OnMouseUp and OnMouseDown if another mouse button (other than mbLeft), the keyboard modifier like Shift/Ctrl/Alt, or the mouse coordinates must be examined.
This description is the one of ExtCtrls.TCustomTrayIcon.OnClick.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
