Autor Beitrag
Roy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 184

Windows7 Ultimate
Delphi 2007, NET, Embarcadero
BeitragVerfasst: Fr 29.12.06 18:11 
Ich grüße euch Delphi-Freunde,
habe mal wider ein Problem. Was muss ich machen das mein Programm beim Start, egal auf welchem PC immer am rechten unteren Desktop öffnet!

Danke Roy
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Fr 29.12.06 18:13 
Es gibt nur einen Desktop!

Falls du meinst, dass das Formular an der Ecke rechts unten erscheinen soll:
ausblenden Delphi-Quelltext
1:
2:
Left:=Screen.Width-Width;
Top:=Screen.Height-Height;


BTW: vllt. muss man da noch die Höhe der Taskleiste rausrechnen :nixweiss:

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Roy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 184

Windows7 Ultimate
Delphi 2007, NET, Embarcadero
BeitragVerfasst: Fr 29.12.06 18:16 
genau das meine ich. Jedoch sind die Auflösungen von PC zu PC unterschiedlich.
Und wie muss ich den von Ihnen gezeigten Quelltext einsetzen?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Fr 29.12.06 18:17 
user profile iconRoy hat folgendes geschrieben:
genau das meine ich. Jedoch sind die Auflösungen von PC zu PC unterschiedlich.
Und wie muss ich den von Ihnen gezeigten Quelltext einsetzen?

Im OnCreate oder im OnShow.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
mpth
Hält's aus hier
Beiträge: 6

Win XP
Delphi 7 Prof, Turbo Delphi 2006 Prof.
BeitragVerfasst: Fr 29.12.06 18:19 
um die eventuell vorhandene taskbar am unteren rand nicht zu überdecken, bietet sich vielleicht folgendes an:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.FormShow(Sender: TObject);
begin
  Left := Screen.WorkAreaWidth - Width;
  Top := Screen.WorkAreaHeight - Height;
end;

_________________
hexen ist keine kunst, sondern harte arbeit...
Roy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 184

Windows7 Ultimate
Delphi 2007, NET, Embarcadero
BeitragVerfasst: Fr 29.12.06 18:22 
user profile iconMarco D. hat folgendes geschrieben:
user profile iconRoy hat folgendes geschrieben:
genau das meine ich. Jedoch sind die Auflösungen von PC zu PC unterschiedlich.
Und wie muss ich den von Ihnen gezeigten Quelltext einsetzen?

Im OnCreate oder im OnShow.


was muss ich hierfürm eintragen?
(Programmer.HasSolution) do Programmer.AskInDF;
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Fr 29.12.06 18:41 
Wie wärs mit dem was hier schon 2 mal steht? :roll:

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Roy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 184

Windows7 Ultimate
Delphi 2007, NET, Embarcadero
BeitragVerfasst: Fr 29.12.06 18:42 
sorry, ja hat auch geklappt.
Danke