Thema: Delphi Minimize on close?

Einzelnen Beitrag anzeigen

Razor
(Gast)

n/a Beiträge
 
#4

Re: Minimize on close?

  Alt 5. Aug 2007, 15:30
I figured it out already thanks!

Delphi-Quellcode:
procedure TMainFrm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin

if rzcheckbox10.Checked=true then begin
canclose:=false;
TextTrayIcon1.hideMainForm;

    exit;



                    
end;
  Mit Zitat antworten Zitat