![]() Example |
![]() ![]() ![]() |
acTrayIcon component.
|
procedure RestoreFromTray;
|
Call RestoreFromTray method to restore your forms or whole application (if acTrayIcon component is on main form) to the system tray area. To minimize windows to tray - call MinimizeToTray method.
|
|
acTrayIcon component, however, can restore forms from the system tray automatically when:
|
1 | User double clicks the tray icon and no popup menu assigned to PopupMenu property (If PopupMenu assigned, double click will invoke default menu action).
|
2 | User clicks the tray icon once, if Options property contains enabled oOneClickRestore flag.
|
3 | User selects any menu item assigned to PopupMenuRestoreItem property.
|
MinimizeToTray method;
|
IsMinimized, Options, PopupMenu and PopupMenuRestoreItem properties;
|
OnMinimize and OnRestore events.
|