ExtendedBorders and TrayIcon Root › Technical support › Troubleshooting This topic has 5 replies, 4 voices, and was last updated 11 years ago by minou. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts March 23, 2014 at 8:00 pm #51734 StertorParticipant Это не относится к вашей имеющейся проблеме, но посмотрите на этот: Code: if ReadString_ini('setting','ClockStatus','1')='1'then не лучше ли будет, эта функция была бы вызвана 1 раз – при старте/запуске приложения? Значение, которое вернет функция, будет сохранено в переменной, из которой потом может быть считано. Это сделает ваш код быстрее. March 30, 2014 at 8:13 am #51771 SupportKeymaster Hello, minou I tried to repeat an issue, but without success. Could you give me a demo with this issue, please? April 7, 2014 at 4:29 pm #51793 minouParticipant now it is freezing Code: TrayIcon1.Visible:=False; Form1.Show; Application.BringToFront // << here April 8, 2014 at 2:52 pm #51794 CheshireCatParticipant Hello minou, please try this in your OnClick event: Code: procedure TForm1.TrayIcon1Click(Sender: TObject); begin TrayIcon1.Visible := False; Application.Restore; Application.BringToFront; Form1.Show; end; April 9, 2014 at 2:03 pm #51797 minouParticipant 'CheshireCat' wrote: Hello minou, please try this in your OnClick event: Code: procedure TForm1.TrayIcon1Click(Sender: TObject); begin TrayIcon1.Visible := False; Application.Restore; Application.BringToFront; Form1.Show; end; work fine Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting