summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-01 11:07:30 +0200
committerErich Eckner <git@eckner.net>2018-10-01 11:07:30 +0200
commit0c70d338a4157e59cb25f4881a349105957486a0 (patch)
treebce254114161df601b421bf2f27baae965b32092 /unit1.pas
parent70362e17027b8ad55d2f581f4712be3eabaa6256 (diff)
downloadRaetsel-0c70d338a4157e59cb25f4881a349105957486a0.tar.xz
buchstabenunit.pas,hochhausunit.pas -> raetselunit.inc
Diffstat (limited to 'unit1.pas')
-rw-r--r--unit1.pas11
1 files changed, 9 insertions, 2 deletions
diff --git a/unit1.pas b/unit1.pas
index d9e333a..27ec7c2 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -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);