Autor Beitrag
Blackheart
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 164

ME
D3Prof.-D6Standard
BeitragVerfasst: So 12.06.05 13:12 
Hallo Leute
Ich Lade verschiedene Bitmaps aus der ImageList per Zufall in ein Image.
Jetzt das Problem es bleiben beim nächsten laden immer Schatten vom dem davorgeladenem
Image.
Hab's schon mit Refresh,Update probiert hilft alles nichts.
Muss Ich die Bitmaps wieder freigeben ?
Habt Ihr eventuell einen Tip.

ausblenden Delphi-Quelltext
1:
2:
3:
Bild1[i]:=random(4)+1;
ImageList1.GetBitmap(Bild1[i]-1, Image1.Picture.Bitmap);
Image1.Repaint;
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 12.06.05 13:16 
Versuch mal
ausblenden Delphi-Quelltext
1:
Image1.Picture := nil					


Ist nur n Versuch. Kann grad selber nix ausprobieren. ;)
Blackheart Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 164

ME
D3Prof.-D6Standard
BeitragVerfasst: So 12.06.05 13:21 
Danke @WeBsPaCe das wars. Problem Gelöst !
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: So 12.06.05 13:24 
user profile iconBlackheart hat folgendes geschrieben:
Danke @WeBsPaCe das wars. Problem Gelöst !

Kein Problem. ;)