Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Mi 18.02.04 21:59 
Hi,
über die image komponenten kann ich ja Bilder in mein Project laden
ausblenden Delphi-Quelltext
1:
image1.picture.loadfromfile('...');					

nun möchte ich aber nicht das Bild aus einer externen Quelle laden, sondern aus der Imagelist.

Ich habe das bis jetzt leider noch nicht hinbekommen, kann mir da jemand vielleicht auf die sprünge helfen?

thx hibbert

Moderiert von user profile iconTino: Topic verschoben.

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
bug0815
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 62

Win2000, Xp, Vista
Delphi 2006, 2009
BeitragVerfasst: Do 19.02.04 20:24 
Hallo,

folgender Code...
ausblenden Delphi-Quelltext
1:
ImageList.GetBitmap(0, Image.Picture.Bitmap);					

...läd das erste Bitmap (0) aus einer ImageList in ein TImage.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 19.02.04 20:32 
danke, danach habe ich schon immer gesucht !!!


thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Nurio
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Do 22.06.06 18:27 
Hallo Ihr,
ich arbeite auch gerade mit der ImageList, aber ich habe das Problem in der ganz anderen Richtung. Wie kann ich mehrere Bilder in eine ImageList laden? Wurde wahrscheinlich schon tausendmal beantwortet und ist bestimmt ne dumme Frage, aber ich hab bisher keine Lösung für mein Problem gefunden.

Vieleicht könnt ihr mir ja helfen. Ich bdanke mich schon im vorraus.

MfG, Nurio!