diff options
author | Erich Eckner <git@eckner.net> | 2018-10-01 22:27:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-01 22:27:14 +0200 |
commit | 717b9418c82503d4eea96b2e736ba23e7134a1e3 (patch) | |
tree | b5734efe15f4628cb64136aa5a2cfb5037a8450c /unit1.pas | |
parent | f6e4306d5b6faa060b89e46f3a79636270b49359 (diff) | |
download | Raetsel-717b9418c82503d4eea96b2e736ba23e7134a1e3.tar.xz |
Spielnummern neu
Diffstat (limited to 'unit1.pas')
-rw-r--r-- | unit1.pas | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |