Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Width = Höhe ??? (https://www.delphipraxis.net/76446-width-%3D-hoehe.html)

ByStones2 4. Sep 2006 18:02


Width = Höhe ???
 
Hi,
ich weiß nicht ob ich gerade voll auf der Leitung stehe oder ob ich einen Fehler entdeckt habe ???
Mir kommt es so vor als hieße Screen.Width die Höhe vom Bildschirm :wall: und nicht die Breite ????
Habe Delphi 2005 ... Hab ich da Recht, oder ist das totaler Sch***...

ByStones

Klaus01 4. Sep 2006 18:28

Re: Width = Höhe ???
 
Also in Delphi6 stimmt es noch.

Form1.width:=screen.width;

breitet die Form über die gesamte Bildschirmbreite.

Grüße
Klaus

3_of_8 4. Sep 2006 18:33

Re: Width = Höhe ???
 
Lass es dir halt mal mit showmessage oder mit dem Evaluator ausgeben.

Namenloser 4. Sep 2006 19:42

Re: Width = Höhe ???
 
Also ich hab auch Delphi 2005, und hab grade nen test gemacht. Also bei mir geht alles glatt. Hast du vielleicht zwei Monitore?

dann müsste es glaub ich heißen: screen.monitors[nummer des monitors].width
Aber ohne Gewähr, da ich selbst keine zwei monitore habe. :)


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:21 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz