Autor Beitrag
hedie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249

WIN XP WIN 2000 WIN Longhorn
D7 Pers D2005 Architect Vollversion
BeitragVerfasst: Fr 21.01.05 19:13 
Hallo

ich möchte in einem image feld das bild ändern bisher habe ich es so versucht

ausblenden Quelltext
1:
image1.picture := b.ico					


hat leider nicht geklappt

p.s. sollte mit einem button aufrufbar sein

_________________
Grüsse hedie
hört auf traurig zusein hört lieber radio Basilisk
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Fr 21.01.05 19:26 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
// Bild von "b" kopieren
image.picture.assign(b);

// Datei laden
image.picture.loadfromfile('C:\MeinBild.ico');


Gruß,
maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
hedie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 249

WIN XP WIN 2000 WIN Longhorn
D7 Pers D2005 Architect Vollversion
BeitragVerfasst: Fr 21.01.05 19:27 
vielen dank :wink:

_________________
Grüsse hedie
hört auf traurig zusein hört lieber radio Basilisk