Thema: Delphi Minimize on close?

Einzelnen Beitrag anzeigen

Razor
(Gast)

n/a Beiträge
 
#1

Minimize on close?

  Alt 5. Aug 2007, 14:23
How can i minimize on close?


procedure TMainFrm.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
begin
if rzcheckbox10.Checked=true then
canclose:=false;

if mainfrm.CloseQuery=true then
TextTrayIcon1.HideMainForm;



end;

This wont work
  Mit Zitat antworten Zitat