Autor Beitrag
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: So 06.08.06 21:11 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
showmessage('vorher: '+inttostr(Picture1.Height));
Picture1.Bitmap.PixelFormat := pf32Bit;
Picture2.Bitmap.PixelFormat := pf32Bit;
showmessage('nachher: '+inttostr(Picture1.Height));

Die erste Ausgabe ist 557 und danach 0. Warum? Muss das so?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 06.08.06 21:14 
Ist das Bild noch vorhanden? Vielleicht löscht er dieses beim Setzen des Formats.

_________________
Markus Kinzler.
Marco D. Threadstarter
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: So 06.08.06 21:17 
user profile iconmkinzler hat folgendes geschrieben:
Ist das Bild noch vorhanden? Vielleicht löscht er dieses beim Setzen des Formats.

Danke, das wars. :zustimm:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot