summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-01 22:27:14 +0200
committerErich Eckner <git@eckner.net>2018-10-01 22:27:14 +0200
commit717b9418c82503d4eea96b2e736ba23e7134a1e3 (patch)
treeb5734efe15f4628cb64136aa5a2cfb5037a8450c /unit1.pas
parentf6e4306d5b6faa060b89e46f3a79636270b49359 (diff)
downloadRaetsel-717b9418c82503d4eea96b2e736ba23e7134a1e3.tar.xz
Spielnummern 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 27ec7c2..05b97d8 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -19,6 +19,7 @@ type
private
{ private declarations }
procedure WMGetDlgCode(var msg: tMessage); message WM_GETDLGCODE;
+ procedure onSetCaption(c: string);
public
{ public declarations }
raetsel: tRaetsel;
@@ -55,6 +56,12 @@ begin
application.terminate;
end;
end;
+ raetsel.onSetCaption:=@onSetCaption;
+end;
+
+procedure tForm1.onSetCaption(c: string);
+begin
+ form1.caption:=c;
end;
procedure tForm1.FormDestroy(Sender: TObject);