![]() |
![]() ![]() ![]() |
acTrayIcon component.
|
type
|
TacTrayIconOptions = set of (oHideIconOnRestore,
|
oMinimizeToTray,
|
oMinimizeToTrayOnDeactivate,
|
oOneClickRestore,
|
oDblClickRestore,
|
oPlaySysActionSounds,
|
oShowAtDesignTime,
|
oShowMenuOnLeftClick);
|
|
property Options: TacTrayIconOptions;
|
The Options property controls the appearance and behavior of the tray icon. Use Options property to customize the appearance and functionality of the TrayIcon component. The possible values of Options are:
|
Value Meaning
|
oHideIconOnRestore | Hides the icon from tray (makes Visible property False) when the form becomes restores from the tray;
|
oMinimizeToTray | Automatically minimize the window to tray when user clicks ![]() |
oMinimizeToTray | Automatically minimize the window to tray when application deactivates (the input focus switches to another application). ![]() |
oOneClickRestore | Restores the window from tray icon on just one mouse click when True;
|
oDblClickRestore | Prevents the form from minimizing and restoring from the system tray when False;
|
oPlaySysActionSounds | Controls whether the component should play the default system sounds (the WAV files defined by user in "Sounds" applet of Control Panel), associated with Minimize and Restore events (when the application minimizes or restores from system tray);
|
oShowAtDesignTime | Shows the tray icon at design time. Make it False if you would not see the design tray icon even if Visible property is True;
|
oShowMenuOnLeftClick | Shows the popup menu when user click left mouse button over tray icon.
|
PopupMenu property;
|
OnDblClick event.
|