Autor Beitrag
Ochsenfrosch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 75

Win 2000 Prof.
Delphi 7
BeitragVerfasst: Fr 28.05.04 13:08 
Malzeit...

Ich habe ein Image (Bild) auf meiner form, und möchte, wenn man auf einen button drückt, dass das Image die datei "Button1.bmp" als picture lädt. wie kann man des machen?

Ochsenfrosch

_________________
Immer positiv denken!!!! (Windows kackt nicht ab, Windows kackt nicht ab....)
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Fr 28.05.04 13:13 
Hallo,

ein Blick in die Delphi-Hilfe würde manchmal nicht schaden.

ausblenden Delphi-Quelltext
1:
  Image1.Picture.LoadFromFile('Button1.bmp');					

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)