Autor Beitrag
allshoot
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22


d5 standart
BeitragVerfasst: So 12.03.06 09:04 
Hallo Leute,

Habe ein Problem.
Ich habe in einem Formular nur ein TImage.
Dieses Formular ist visible := false.
Wenn ich jetzt ab und zu das Formular sichtbar mache, dann möchte ich, das verschiedene Bilder geladen werden, und zwar das Bild, das es vom Programm gesagt bekommt.
Welches Bild das ist, sage ich ihm als String, wobei die Bilder in dem selben Ordner liegen wie die EXE.
Kann ich das so machen oder leige ich da falsch?

Danke im Voraus

allshoot
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: So 12.03.06 09:09 
Image1.Picture.LoadFromFile() sollte dir weiterhelfen


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
allshoot Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22


d5 standart
BeitragVerfasst: So 12.03.06 09:58 
THX Born-to-Frag!

Klappt so, sollte genügen. Schönes Rest-WE noch!

allshoot