Forum: Object-Pascal / Delphi-Language
Delphi
by 3_of_8,
16. Sep 2006
Was für eine Vorschaugröße?
Forum: Object-Pascal / Delphi-Language
Delphi
by 3_of_8,
16. Sep 2006
image2.picture.width und image2.picture.height.
Übrigens: Mit image2.proportional:=True wirds nicht verzerrt. ;)
Forum: Object-Pascal / Delphi-Language
Delphi
by 3_of_8,
16. Sep 2006
Dann gehts natürlich noch leichter:
Image2.Picture.LoadFromFile('Dateiname');
Forum: Object-Pascal / Delphi-Language
Delphi
by 3_of_8,
16. Sep 2006
Einfach noch ein Image2.Parent:=Self; rein.
Und das mit dem Zuweisen geht so, dass du einen TGraphic-Abkömmling instantiierst und dann den irgendwie lädst: Aus ner Datei, aus ner Ressource, woher du willst. Und den dann Image2.Picture.Graphic zuweisen.