Autor Beitrag
DorJo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 139



BeitragVerfasst: So 14.09.08 19:00 
Hallo, also ich hab mal wieder ein Problem!

Ich habe bei meiner Form ein PageControl! Das ist AlClient! Jetzt möchte ich oben rechts ÜBER das PageControl ein EditFeld und Image legen. Das Edit Feld lässt sich einwandfrei darüber legen, beim Image bleibt es immer "hinter" / unter dem PageControl :(

Ich habe bereits image.bringtofront ausprobiert sowie "In den Vordergrund" (im Entwurfsmodus) aber nichts hat funktioniert :(

Wisst ihr vielleicht wie man so etwas hinkriegt?

Danke schonmal im vorraus!

Mfg

DorJo
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 14.09.08 19:12 
TImage ist von TControl (mehr oder weniger direkt) abgeleitet, ohne dass es ein TWinControl ist.
TEdit und TPageControl sind TWinControls, d.h. sie haben ein eigenes Fenster zum Zeichnen. Damit überdeecken TWinControls IMMER TControls.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: So 14.09.08 19:21 
Du könntest das Image in ein Panel stecken, die Farbe des Panels auf die gewünschte Hintergrundfarbe setzen, und das ganze dann immer zusammen bewegen. So passt das Bild auch über das PageControl - Transparenz ist jedoch nicht mehr möglich.