Autor Beitrag
elduchte
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 199

Win 2000, Win XP
Delphi 7
BeitragVerfasst: Mi 23.04.03 17:15 
Hallo Leute,
ich habe folgendes Problem:
Ein von mir geschriebenes Programm hat die Pixel-Größe 1024 x 768. Starte ich jetzt das Programm auf einem PC mit geringerer Auflösung (800 x 600) werden die Formulare nicht korrekt dargestellt.

Um dieses Problem zu beheben, soll es eine Komponente geben, die die Auflösungen abfragt und die Formulare durch Berechnungen verändert.

Kann mir jemand sagen wie diese Komponente heißt bzw. wo ich sie im Netz finden kann??

Danke
Andreas
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 23.04.03 20:12 

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
majolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 334

Ubuntu 8.04, WinXP Prof.
D1, D6Pers, D7 Prof., D8 Prof., D2005 Pers
BeitragVerfasst: Sa 03.01.04 19:06 
Hallo,

wollte nicht extra ein neues Thema eröffnen. Ich bekomme beim Compilieren des Beispiels von delphi-source.de eine Fehlermeldung, dass pixelsperinch und scaleby undefinierte Bezeichner seien. Muss ich noch irgendeine Unit einbinden.
Vielen Dank für Antworten.

_________________
Gruß
majolo
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 03.01.04 21:15 
majolo hat folgendes geschrieben:
Ich bekomme beim Compilieren des Beispiels von delphi-source.de eine Fehlermeldung, dass pixelsperinch und scaleby undefinierte Bezeichner seien.


pixelsperinch und scaleby sind Eigenschaften der form. wenn du den code so übernommen hast (code ins Formcreate) gibt es keine Probleme bei kompilieren. Wo hast du den code stehen?

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
majolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 334

Ubuntu 8.04, WinXP Prof.
D1, D6Pers, D7 Prof., D8 Prof., D2005 Pers
BeitragVerfasst: Mo 05.01.04 12:23 
Tja, weiß auch nicht warum es nicht geklappt hat, jetzt gehts auf jeden Fall.
Trotzdem vielen Dank.

_________________
Gruß
majolo
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Mo 05.01.04 16:19 
Also mit Screen.Width und Screen.Height kannst du die Auflösung selber abfragen.
Vielleicht kannst du ja selber irgendwie deine komponenten danach richten

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce