Autor Beitrag
No0B
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 62



BeitragVerfasst: Di 27.04.10 20:48 
Würde mein Programm gerne mit nem Rahmen austatten, dazu habe ich mir überlegt ich lege Form1 über Form 2. Form 2 versehe ich mit einem Image das etwas grösser ist als Form 1. Ist das möglich ? Oder gibts ne bessere möglichkeit?
Namenlosnameless
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 259
Erhaltene Danke: 6

Windows XP Home Edition, Windos Vista
C#
BeitragVerfasst: Di 27.04.10 20:51 
Ich weiß nicht ob ich dich richtig verstanden habe aber ich denke du willst den Hintergrund deiner Form1 neu machen! oder?

Dafür gibts die BackgroundImage-Property

_________________
1:<<Life sucks!!>> 2:<< Well okay>> 1: <<Just Yours>> 2:<<Ohmph>>
No0B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 62



BeitragVerfasst: Di 27.04.10 20:52 
Nein ich will einen Rahmen selbst erstellen.
Namenlosnameless
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 259
Erhaltene Danke: 6

Windows XP Home Edition, Windos Vista
C#
BeitragVerfasst: Di 27.04.10 21:16 
was hältst du von FormBorderStyle auf None Setzt und ein Bild erstsellst, dass den Rahmen symbolisiert!

_________________
1:<<Life sucks!!>> 2:<< Well okay>> 1: <<Just Yours>> 2:<<Ohmph>>
No0B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 62



BeitragVerfasst: Di 27.04.10 21:33 
Würde gern 2 Forms übereinander legen.
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Di 27.04.10 21:47 
Ich versteh ja immer noch nicht, was du überhaupt willst, drum schmeiß ich mal ein paar Begriffe in den Raum..

- Frames
- Formstyle: StayOnTop
- ShowModal

Vielleicht solltest du einfach mal genauer erklären, was das werden soll?

_________________
PROGRAMMER: A device for converting coffee into software.
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: Di 27.04.10 22:33 
Prinzipiell musst du ja nur dafür sorgen, dass beim Fenster verschieben das andre mit verschoben wird. Form2 machst du einfach transparent in der mitte, dann kannst du da "durchklicken" auf Form1.

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 28.04.10 05:41 
Wie das geht siehst du an diesem Projekt, dort haben wir die eigenen Ränder auch mir zwei Formularen übereinander realisiert:
www.delphi-forum.de/viewtopic.php?t=90400

So einfach wie du dir das vorstellst ist das jedenfalls nicht. Du kannst auch einfach dieses Projekt nehmen und weiterentwickeln, wenn du möchtest, das meiste funktioniert dort bereits.