Autor Beitrag
oneP
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 71

Win XP Professional
Turbo Delphi 2006
BeitragVerfasst: Sa 22.08.09 18:46 
Hallo,

noch ne frage von mir...

ich hab wirklich sehr lange gesucht und probiert aber ohne Erfolg. Ich möchte nämlich Bilder aus einer ImageList direkt in ein Image laden.

Mein Ziel ist dass wärend eine Taste gedrückt ist sich ein Timer aktiviert der die Bilder (insgesamt 4) nacheinander aus einer ImageList in ein Image lädt.

Aber wie lädt man diese Bilder?
Dude566
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1592
Erhaltene Danke: 79

W8, W7 (Chrome, FF, IE)
Delphi XE2 Pro, Eclipse Juno, VS2012
BeitragVerfasst: Sa 22.08.09 19:22 
Wie man ein Image lädt weist du aber oder?

ausblenden Delphi-Quelltext
1:
Image1.Picture.LoadFromFile('bla.jpg');					

_________________
Es gibt 10 Gruppen von Menschen: diejenigen, die das Binärsystem verstehen, und die anderen.
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Sa 22.08.09 19:23 
ausblenden Delphi-Quelltext
1:
2:
Imagelist.GetBitmap(i,Image.Picture.Bitmap);
//i ist die Variable
oneP Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 71

Win XP Professional
Turbo Delphi 2006
BeitragVerfasst: Sa 22.08.09 19:36 
user profile iconBlackheart666 hat folgendes geschrieben Zum zitierten Posting springen:
ausblenden Delphi-Quelltext
1:
2:
Imagelist.GetBitmap(i,Image.Picture.Bitmap);
//i ist die Variable


ah danke! Ganau so einen Befehl hab ich gesucht.
Dude566
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1592
Erhaltene Danke: 79

W8, W7 (Chrome, FF, IE)
Delphi XE2 Pro, Eclipse Juno, VS2012
BeitragVerfasst: So 23.08.09 00:00 
Könntest du bitte einen Codeschnipsel veröffentlichen damit andere in Zukunft davon profitieren können? :wink:

_________________
Es gibt 10 Gruppen von Menschen: diejenigen, die das Binärsystem verstehen, und die anderen.
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: So 23.08.09 07:24 
user profile iconDude566 hat folgendes geschrieben Zum zitierten Posting springen:
Könntest du bitte einen Codeschnipsel veröffentlichen damit andere in Zukunft davon profitieren können? :wink:



user profile iconBlackheart666 hat folgendes geschrieben Zum zitierten Posting springen:
ausblenden Delphi-Quelltext
1:
2:
Imagelist.GetBitmap(i,Image.Picture.Bitmap);
//i ist die Variable


Da war der Codeschnipsel :wink:
Dude566
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1592
Erhaltene Danke: 79

W8, W7 (Chrome, FF, IE)
Delphi XE2 Pro, Eclipse Juno, VS2012
BeitragVerfasst: So 23.08.09 19:17 
Oh das habe ich doch tatsächlich gerade total übersehen. :roll:

_________________
Es gibt 10 Gruppen von Menschen: diejenigen, die das Binärsystem verstehen, und die anderen.