trayicon OnDblClick event
Return to Introduction  Previous page  Next page
Applies to
acTrayIcon and acAppBar components.  

property OnDblClick: TNotifyEvent;  

The OnDblClick even occurs when user double-clicks the primary mouse button over the tray icon. Use the OnDblClick event to write code that responds to the double-click event.  
tip After firing of this event, the default double-click action will be executed. The default action is:  
·the event handler of the default menu item in the PopupMenu, or…  
·if the PopupMenu does not contains default menu item, but oDblClickRestore option is True, the form will be minimized, or restored from the system tray. To prevent your form from restoring on double click — set oDblClickRestore flag in Optons to False.  

See also
OnClick event;  
PopupMenu and Options properties.