diff options
author | Erich Eckner <git@eckner.net> | 2018-10-01 11:07:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-01 11:07:30 +0200 |
commit | 0c70d338a4157e59cb25f4881a349105957486a0 (patch) | |
tree | bce254114161df601b421bf2f27baae965b32092 /unit1.pas | |
parent | 70362e17027b8ad55d2f581f4712be3eabaa6256 (diff) | |
download | Raetsel-0c70d338a4157e59cb25f4881a349105957486a0.tar.xz |
buchstabenunit.pas,hochhausunit.pas -> raetselunit.inc
Diffstat (limited to 'unit1.pas')
-rw-r--r-- | unit1.pas | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -6,7 +6,7 @@ interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, - raetselunit; + raetselunit, StdCtrls, Messages, LCLType; type @@ -18,6 +18,7 @@ type procedure FormShow(Sender: TObject); private { private declarations } + procedure WMGetDlgCode(var msg: tMessage); message WM_GETDLGCODE; public { public declarations } raetsel: tRaetsel; @@ -31,10 +32,16 @@ implementation {$R *.lfm} uses - unit2, hochhausunit, buchstabenunit; + unit2; // tForm1 ********************************************************************** +procedure tForm1.WMGetDlgCode(var msg: tMessage);// message WM_GETDLGCODE; +begin + inherited; + msg.result := msg.result or DLGC_WANTARROWS; +end; + procedure tForm1.formCreate(sender: tObject); begin application.createForm(tForm2, form2); |