summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-11-18 11:12:51 +0100
committerErich Eckner <git@eckner.net>2015-11-18 11:12:51 +0100
commitfb715c739e9fb69d00e727c864cf59d2a26b811d (patch)
tree0ddf1fd1dbca9574589d3f5a4d7271912ee43f89 /unit1.pas
parent9b75646e386074fae0bc6002a0d32eaaa7fb0d95 (diff)
downloadFH-Wetter-fb715c739e9fb69d00e727c864cf59d2a26b811d.tar.xz
Fenster richtiger positioniert
Diffstat (limited to 'unit1.pas')
-rw-r--r--unit1.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit1.pas b/unit1.pas
index 7b151b0..e38a5ad 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -176,8 +176,8 @@ end;
procedure TForm1.FormShow(Sender: TObject);
begin
- form1.top:=screen.height-form1.height-24;
- form1.left:=screen.width-form1.width;
+ form1.top:= screen.monitors[0].top +screen.monitors[0].height-form1.height-24;
+ form1.left:=screen.monitors[0].left+screen.monitors[0].width -form1.width;
end;
procedure TForm1.TrayIcon1Click(Sender: TObject);