JVCL Help:TJvTrayIcon.OnClick

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 clicks the tray icon.


Pascal

 propertyOnClick: TMouseEvent;


Description

Use the OnClick event handler to respond when the user clicks on the icon that represents the application on the Windows taskbar notification area.
Typically, clicking a tray icon causes the application to display a window with additional information; right-clicking displays a shortcut menu.
Use the tvRestoreClick and tvMinimizeClick flags from Visibility to automate the process of hiding and restoring the application upon clicking of the tray icon with the left button.


See Also

TJvTrayIcon.OnContextPopup, TJvTrayIcon.OnDblClick, TJvTrayIcon.OnMouseDown, TJvTrayIcon.OnMouseUp, TJvTrayIcon.Visibility


About

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