JVCL Help:TJvTrayIcon.Active

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

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies whether the tray icon is shown.


Pascal

 propertyActive: Boolean;


Description

Examine Active at runtime to determine whether the component is active or not. Setting Active to True does actually not imply that an icon is shown in the taskbar notification area.
No icon is shown, although Active is True, if

  • Property IconVisible is set to False after Active was set to True.
  • Flag tvAutoHideIcon is included in property Visibility and the application is notminimized.
  • The Windows Shell failed to add the icon to the tray.

Use property IconVisible to determine whether an icon is actually shown in the tray.
Active is false by default, meaning there is no notification icon shown in the taskbar notification area.
Setting Active to true adds the icon specified by Icon to the tray at runtime. If Animated is also set to true, TJvTrayIcon uses the images in the image list specified by Icons to periodically change the notification icon. Property Delay specifies the amount of time between icon changes.
Setting Active to false (the default), removes the notification icon from the taskbar notification area.


See Also

TJvTrayIcon.Delay, TJvTrayIcon.Animated, TJvTrayIcon.Icon, TJvTrayIcon.Icons, TJvTrayIcon.IconVisible


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