Autor Beitrag
†halia
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 24

WIN XP
Delphi 7 Enterprise, C++
BeitragVerfasst: So 02.03.08 14:44 
Hey!

Brauche dringend Hilfe für ein Programm. Mein Fenster soll bis zum rechten Rand des Bildschirms laufen können. Gibt es bei Delphi 7 vielleicht eine Funtion mit der man abfragen kann, wie viele Pixel der Screen lang ist?

Gruß,
†halia
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 02.03.08 14:52 
Hallo und :welcome: in der Entwickler-Ecke!

Probier einfach mal Screen.Width. Manchmal funktioniert das Offensichtliche sogar ;-).

_________________
We are, we were and will not be.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 02.03.08 15:46 
Wobei Du mit Screen.MonitorCount rausbekommst, ob der jenige auch wirklich nur einen Monitor hat ... sonst klappt das so nämlich nur bedingt ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
†halia Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 24

WIN XP
Delphi 7 Enterprise, C++
BeitragVerfasst: Mo 03.03.08 16:05 
to Gausi

Danke für den Tipp^^.
Problem war damit auch schon vorher gelöst worden. Hatte gestern morgen wohl einfach ein Brett vorm Kopf :oops: . Manchmal macht man's sich wirklich unnötig kompliziert.

Gruß,
†halia