Hi all.
Having some minimize problems. When I minize to tray 1st time is OK, no sign
left on task bar of application. Then I restore from tray and then second time
minize to tray an icon is left on the task bar (undesirable).

Any thoughts?

procedure TMainform.MinimizeToTray(sender: TObject);
begin
  hide;
  application.Minimize;
  rxtrayicon1.active := true;
end;

procedure TMainform.EXITtoBack4WinXP1Click(Sender: TObject);
begin
  RxTrayIcon1.Active := false;
//    Show;
  application.Restore;
  BringToFront;
end;

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to