Mark Billig 0 Posted January 3 Is there a way to start an application in the system tray? Share this post Link to post
Dave Nottage 575 Posted January 3 9 minutes ago, Mark Billig said: Is there a way to start an application in the system tray? Yes.. use a TTrayIcon component and set Application.ShowMainForm to False Share this post Link to post
Mark Billig 0 Posted January 3 I am using 11.3 and have tried that but it did not start in the system tray. I will do more testing. Share this post Link to post
Dave Nottage 575 Posted January 3 3 minutes ago, Mark Billig said: I am using 11.3 and have tried that but it did not start in the system tray. Please show your code. Also remember that the Visible property on TTrayIcon needs to be set to True Share this post Link to post
Mark Billig 0 Posted January 3 I have attached the code. About.dfm About.pas MFUnit.dfm MFUnit.pas SetDPI.dpr Share this post Link to post
Dave Nottage 575 Posted January 3 10 minutes ago, Mark Billig said: I have attached the code. Two problems: You have - Application.MainFormOnTaskbar := False; Instead of - Application.ShowMainForm := False; ..and you have not assigned anything to the Icon property in the TTrayIcon component, which means it shows as a blank area, rather than a visible icon Share this post Link to post
Mark Billig 0 Posted January 3 Thank you. I better learn to read better. Share this post Link to post