Autor Beitrag
AlexBegin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Fr 08.05.09 13:02 
Ich habe zwei Fenster. Im Form1 wird das Aussehen des Form2 gesteuert. Nun möchte ich aus dem Form1 heraus eine Bitmap-Grafik laden und als Hintergrundbild in Form2 darstellen. Das Auswählen der entsprechenden Grafik über ein OpenDialog funktioniert einwandfrei. Nur kann ich die Grafik nicht in Form2 als Hintergrund darstellen.
Habe hier im Forum und in der Hilfe-System von Delphi gesucht, aber nicht passendes gefunden. Kann mir jemand bei meinem Problem weiterhelfen?

Bis dann Alex
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Fr 08.05.09 13:15 
nun, man kann ein Image auf alClient stellen und dann per Image.Picture.LoadFromFile die bitmap laden :nixweiss:

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
AlexBegin Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Fr 08.05.09 13:36 
Könntest du mir ein wenig Programmier-Code zeigen, da ich keine Erfahrung mit alclient habe.

bis dann Alex
ImbaPanda
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 98

Windows XP/Vista
Delphi 7 Professional/ Rad Studio 2009
BeitragVerfasst: Fr 08.05.09 13:39 
Mit alClient meint JayEff die Eigenschaft Align eines Images. Zieh dir einmal ein Image aus der Komponentenpalette auf's Formular und schau im Objektinspektor nach.

MfG
AlexBegin Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Fr 08.05.09 13:47 
Es hat geklappt !!!!


Dankeschön...