Autor Beitrag
chaoslion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 2k6 Prof,C,C#,Delphi
BeitragVerfasst: Sa 15.04.06 15:42 
Hey

also ich hab eine Mainform und eine kleine Statusform. Die Mainform soll jetzt aber
immer oberhalb der Statusform liegen, so das es in etwa so aussieht:
[url=img234.imageshack.us....php?image=f6my.jpg]user defined image[/URL]

wie würdet ihr dies anstellen?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 15.04.06 15:47 
ausblenden Delphi-Quelltext
1:
2:
form2.left:=form1.left;
form2.top:=form1.top+form1.height+10;

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
chaoslion Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 2k6 Prof,C,C#,Delphi
BeitragVerfasst: Sa 15.04.06 16:01 
ja aber das Problem ist ja, die 2. Form soll egal ob die Mainform maximiert oder normal ist unter der Mainform liegen. Auch wenn man die 2.Form in der Höhe verändert soll sich die Mainform automatisch anpassen.


Zuletzt bearbeitet von chaoslion am Sa 15.04.06 16:05, insgesamt 1-mal bearbeitet
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 15.04.06 16:05 
Wenn sie maximiert ist, dann wäre die Status-Form ja nicht sichtbar :roll:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
chaoslion Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45


Delphi 2k6 Prof,C,C#,Delphi
BeitragVerfasst: Sa 15.04.06 16:09 
:) genau und das würde ich gern vermeiden, so dass sich die Mainform in der Höhe nur soweit maximieren kann bis die Statusform kommt.