Autor Beitrag
Hyperspacer
Hält's aus hier
Beiträge: 8

Win XP Home
Delphi 5 Prof., Delphi 7 Prof.
BeitragVerfasst: Sa 31.12.05 15:06 
Hallo alle zusammen.
Ich möchte gerne ein dynamisches image erzeugen, aber es wird einach nicht angezeigt.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
var
  NewImage : TImage;
begin

  NewImage := TImage.Create(Scrollbox1);
  NewImage.Height := 32;
  NewImage.Width := 32;
  NewImage.Left:= 10;
  NewImage.Top := 10;
  Imagelist1.GetBitmap(0, NewImage.Picture.Bitmap);
  NewImage.Show;
end;

In der Imagelist ist auf jeden Fall ein Bild vorhanden. Daran kann es also nicht liegen.

Danke im voraus


Moderiert von user profile iconraziel: Topic aus Multimedia / Spiele / Grafik verschoben am So 01.01.2006 um 20:02
Moderiert von user profile iconraziel: Topic als "Erledigt" markiert
Jailbird
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 127

Windows XP Pro SP2
Delphi 7 Professional
BeitragVerfasst: Sa 31.12.05 15:23 
ausblenden Delphi-Quelltext
1:
NewImage.Parent := Scrollbox1;					


Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Sa 31.12.05 16:31 
das show brauchst du glaube ich nichtmal, du musst nur einen parent zum anzeigen zuweisen ;)
Hyperspacer Threadstarter
Hält's aus hier
Beiträge: 8

Win XP Home
Delphi 5 Prof., Delphi 7 Prof.
BeitragVerfasst: So 01.01.06 20:00 
Danke!