JVCL Help:TTrayVisibility

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

Search in JVCL Help

 
Search in all projects
 

Summary

Defines values describing options and default appearance for the tray icon.

run\JvTrayIcon.pas


Pascal

 run\JvTrayIcon.pas
 TTrayVisibility = (
tvVisibleTaskBar,
tvVisibleTaskList,
tvAutoHide,
tvAutoHideIcon,
tvVisibleDesign,
tvRestoreClick,
tvRestoreDbClick,
tvMinimizeClick,
tvMinimizeDbClick,
tvAnimateToTray,
tvNoRetryOnFailure
);
TTrayVisibilities = setof TTrayVisibility;


Members

Members Description
tvVisibleTaskBar

Use this flag at run-time to show or hide the application. For example removing this flag from Visibility will hide the application.
Use this flag at design-time to indicate whether the application and the application button must be visible when the application starts up. If you want to hide the application at start-up, exclude the tvVisibleTaskBar flag from the Visibility and make sure that the Visible property of the form where on the tray icon component is dropped is set to false.

tvVisibleTaskList This is default behavior. If this flag is not set, TJvTrayIcon removes the application from the task manager: the application prevent itself from being closed when the user logs off. The application close only when the system is shut down.
tvAutoHide Automatically removes the application button from the taskbar when the user minimizes the application.
tvAutoHideIcon Automatically removes the icon from the tray area when the application is visible.
tvVisibleDesign Shows the tray icon in the traybar notification area at design-time.
tvRestoreClick Automatically restores the application and the visibility of the application button on the taskbar, when the user clicks the tray icon with the left button.
tvRestoreDbClick Assigning an OnDblClick event handler overrides this behavior.
tvMinimizeClick Automatically hides the application and removes the application button from the taskbar, when the user clicks the tray icon with the left button.
tvMinimizeDbClick Assigning an OnDblClick event handler overrides this behavior.
tvAnimateToTray Same when the user restores the application.
tvNoRetryOnFailure Description for tvNoRetryOnFailure

run\JvTrayIcon.pas


Description

The TTrayVisibility type defines values describing options and default appearance for the tray icon. TTrayVisibilities is a set of TTrayVisibility values.

run\JvTrayIcon.pas


About

Navigation

no pages or subcategories

run\JvTrayIcon.pas



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