Using CoolTrayIcon to minimize form to tray
Sometimes we need to run a program in the background.
To save some space on the taskbar, which the running application will
occupy, we can display it in a tray.
An easy way to do this is using a free component CoolTrayIcon by Troels
Jakobsen. It can be downloaded at
So, to display a program in a tray, set ShowMainForm property of the
component to false on it's OnStartup event.
The component has a lot of other features, such as animation
and pop-up menu, etc. They are described in details in its