Minimize on close?
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
|