summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-04 09:20:20 +0200
committerErich Eckner <git@eckner.net>2018-10-04 09:20:20 +0200
commit68a6edd06db2646188d132ebe5e929963a14a91c (patch)
treef71a079b4e24ef0264c0ed01ed586afef93f1eea /unit1.pas
parent8f2e5f01f9dc3a6813bd8431f2c0c9172a83af4d (diff)
downloadRaetsel-68a6edd06db2646188d132ebe5e929963a14a91c.tar.xz
debug-Versionen neu
Diffstat (limited to 'unit1.pas')
-rw-r--r--unit1.pas7
1 files changed, 7 insertions, 0 deletions
diff --git a/unit1.pas b/unit1.pas
index 84cda28..cf26780 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -45,7 +45,13 @@ end;
procedure tForm1.formCreate(sender: tObject);
begin
+ {$IFDEF DEBUG}
+ writeln('procedure tForm1.formCreate(sender: tObject);');
+ {$ENDIF}
application.createForm(tForm2, form2);
+ {$IFDEF DEBUG}
+ writeln('application.createForm(tForm2, form2);');
+ {$ENDIF}
case form2.showmodal of
mrBuchstabenraetsel:
raetsel:=tBuchstabenRaetsel.create(form1);
@@ -54,6 +60,7 @@ begin
else begin
raetsel:=nil;
application.terminate;
+ exit;
end;
end;
raetsel.onSetCaption:=@onSetCaption;