Autor Beitrag
Kujo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24



BeitragVerfasst: Sa 03.03.07 14:57 
Ich habe 2 Bilder ein normales Hintergrundbild und eins, was sich auf diesem Hintergrundbild bewegen soll.
Dies funktioniert jedoch nich, da das Bild hinter dem Hintergrundbild nich angezeigt wird. Es bewegt sich dahinter.
Nun weiß ich nich, wie ich das Bild hinter dem Hintergrund in den Vordergrund auf das Bild bekomme. kann mir da jemand helfen?
Mfg Kujo
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 03.03.07 15:10 
Dlso, du gibst im OnCreate ereignis der Form ein: Wenn Image2 das vordere Bild ist
Image2.BringToFront;

Das bewirkt, dass das Bild in den Vordergrund (in die vorderste Ebene) gezogen wird.

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Bääääär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Sa 03.03.07 15:41 
Hallöchen Kujo und :welcome: im Forum!

Zeichnest du die 2 bilder auf ein image (oder auf eine form, o.ä.) oder hast du 2 images? Bei letzterem hat Fighter#1 recht, ansonsten solltest du den background zuerst zeichnen, um das bild darauf nicht zu übermalen.
Kujo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24



BeitragVerfasst: Sa 03.03.07 18:25 
coole Sache leute. Ich danke euch