Autor Beitrag
Andi1982
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 497

WinXP HE
D6 Enterprise
BeitragVerfasst: Fr 10.01.03 09:08 
Hallo,
ich habe ein programm welches ich bei einer Auflösung von 800x600 erstellt habe. Im Laufe des Programms wird die Höhe der Form von 888 px auf 840 verringert. Das mache ich ganz normal mit
Form1.Height := 840.
Das hat auch wunderbar funktioniert. Habe es auch auf einem anderen Rechner laufen lassen der die Auflösung 1024x768 hat, da sah es auch gut aus. Aber auf Rechnern die als Auflösung 1600x1200 haben verschwindet zu viel!

Ich habe keine Ahnung woran das liegen könnte. Hatte vielleicht schon mal jemand das selbe Problem??

Gruss Andi

_________________
Solange die Bombe tickt ist alles in Ordnung, erst wenn sie damit aufhört wird es problematisch...
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: Sa 11.01.03 08:08 
Ich hab zwar nicht ganz alles verstanden, aber du könntest anhand der Auflösung die Höhe wählen:
ausblenden Quelltext
1:
2:
Screen.width
Screen.height


Das sind die beiden vars für die aktuelle auflösung, die allerdings readonly sind.