JVCL Help:TJvTrayIcon.OnDblClick

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the user double-clicks a mouse button when the mouse pointer is over the tray icon.


Pascal

 propertyOnDblClick: TMouseEvent;


Description

Use the OnDblClick event to respond to mouse double-clicks.
Typically, double-clicking a tray icon causes the application to executes the default shortcut menu command.
Use the tvRestoreDbClick and tvMinimizeDbClick flags from Visibility to automate the process of hiding and restoring the application upon double-clicking of the tray icon.


See Also

TJvTrayIcon.OnClick, TJvTrayIcon.OnMouseDown, TJvTrayIcon.OnMouseUp, TJvTrayIcon.Visibility


About

Notes

Assigning an OnDblClick event handler overrides the tvRestoreDbClick and tvMinimizeDbClick flag in Visibility; thus, the application isn't automatically restored or hidden when the user double-clicks the tray icon.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page