Sign in Join
FPDoc Onlineexperiment

TTrayIcon.PopUpMenu property

Member of TTrayIconpublishedIn unit ExtCtrls

Pop-up menu displayed when right mouse button is clicked over the icon for the control.

Declaration

pascal
property PopUpMenu:;

Description

PopUpMenu is a TPopupMenu property which contains the menu displayed when the Right mouse button is clicked on the Icon for the class instance. Setting a new value for the property causes the existing pop-up menu instance to be removed from the free notification list for the control. The new pop-up menu instance is added to the free notification list. It is used when the widgetset class instance detects a Right mouse button event over the control.

Use the OnMouseDown, OnMouseMove, or OnMouseUp to implement callbacks for mouse events in the widgetset class.

This description is the one of ExtCtrls.TCustomTrayIcon.PopUpMenu.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.