BFC_TrayIcon

Description

This component gives your application the possibility to notify the system tray (icons next to the clock). This can add the ability to minimize your application to an icon in the system tray, and restore it by letting the enduser click (double-click) on it.

Properties

Active   Declaration
property Active: Boolean;

Description
Activates or disactivates the component.

Animate   Declaration
property Animate: Boolean;

Description
Indicates if the images will be animated or not. If Animate is False, the icon in the Icon-property will be used. If Animate id True, the images in the 'Images'-ImageList-property will be shown at the interval 'AnimateInterval'

AnimateInterval   Declaration
property AnimateInterval: Interval;

Description
Time between the images when Animate = True.

ShowDesigning   Declaration
property ShowDesigning: Boolean;

Description
Indicates if the TrayIcon will be show during designtime.

PopupMenu   Declaration
property PopupMenu: TPopupMenu;

Description
PopupMenu that will be show when right-clicking the icob in the tray.

Images   Declaration
property Images: TImageList;

Description
ImageList which contains the different images that will be shown in the tray when Animate is True.

Icon   Declaration
property Icon: TIcon;

Description
Icon that will be shown when Animate is False.

Tooltip   Declaration
property Tooltip: String;

Description
The tooltip that will be show when the mouse is over the icon in the tray.

Methods

None

Events

OnClick   Declaration
property OnClick: TNotifyEvent;

Description
This event will be triggered if the end-user clicks on the icon in the tray.

OnDblClick   Declaration
property OnDblClick: TNotifyEvent;

Description
This event will be triggered if the end-user double-clicks on the icon in the tray.