Greetings Cameron and again thanks for replying. I was hoping to figure out how it was done in the TJvTrayIcon component and I did finally figured it out. I need to set the tvVisibleTaskBar = False and now the application is hidden at start-up.
Thanks, Mike ----- Original Message ----- From: Cameron Cole To: Delphi-Talk Discussion List Cc: SoftTech Sent: Saturday, March 19, 2011 9:00 AM Subject: Re: TJvTrayIcon - How to hide application on start-up I believe all you have to do is add this: Application.ShowMainForm := False; to your Project DPR before the first Application.CreateForm and after the Application.Initialize On Sat, Mar 19, 2011 at 9:57 AM, SoftTech <mi...@softtechks.com> wrote: Greetings All, Anyone uses the TJvTrayIcon component form the JVCL? In the help file it says: JEDI-VCL 3.33 help system TJvTrayIcon.Visibility property property Visibility: TTrayVisibilities; Description Use the Visibility property to customize the appearance and functionality of the tray icon. Use these flags to specify: a.. Whether the application should be automatically restored, if the user clicks or double-clicks the tray icon. b.. Whether the application should be automatically hidden, if the user clicks or double-clicks the tray icon. c.. Whether the application should be visible on start-up. The last item states I should be able to hide the application on state-up, but looking at the TTrayVisibilities properties, I do not see anything that pertains to this. Any idea on how to hide the application so the only thing shown is the tray icon at start-up? Also, does anyone know what the SwingForthAndBack property is used for? Thanks so much to all who reply, Mike __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk -- MailScanner Virus/Spam/Malware: PASS (GZ) __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk