trayicon OnCaptionDblClick events
Return to Introduction  Previous page  Next page
Applies to
acTrayIcon and acCaptionButton components.  

Declaration
property OnCaptionDblClick: TNotifyEvent;  

Description
The OnCaptionDblClick event notifies when user double clicks the caption of the form.  
 
tip You can write this event handler to make some specific actions when user double clicks the title bar of the form with mouse, for example, minimize the form to the system tray using MinimizeToTray method.  

See also
MinimizeToTray method;  
OnDblClick event.