Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.07.06 13:48 
Kann mir jemand sagen, ob es möglich ist, dass Komponenten bei der Maximierung oder einer normalen Vergrößerung ihre relative Position beibehalten.
Die Position sollte dabei, wenn möglich ohne code angepasst werden, da dies relativ aufwendig ist.

_________________
"Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth


Zuletzt bearbeitet von klezmor am Mo 03.07.06 19:04, insgesamt 1-mal bearbeitet
crowley
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 406

Win XP, Win Vista, Mandriva, Ubuntu
Delphi 4-8, Delphi 2006, Delphi 2007
BeitragVerfasst: Mo 03.07.06 13:52 
schau dir dazu mal die Eigenschaften Alignment und Anchors an...

ggf. musst du einzelne Komponentengruppen noch mit Panels oder ähnlichem unterlegen, damit die Struktur erhalten bleibt...
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.07.06 18:52 
das funktioniert immer noch nicht, der button wird dann immer extrem groß, wenn ich die anchors eigentschaften verändere. Mein ziel ist es, dass wenn der button anfangs auf der höhe eines drittels der form war, er dies nach einer maximierung wieder ist, am besten ohne code.

_________________
"Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth
Waldteufel
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mo 03.07.06 20:03 
Schon mal probiert, alle Anchor auf false zu setzen? Hat imho den gewünschten Effekt... ;-)
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 03.07.06 22:42 
leider sind dann die komponenten dann teilweise zu klein.

_________________
"Beware of bugs in the above code; I have only proved it correct, not tried it." Donald Knuth
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 03.07.06 22:43 
Bei D2006 gibts glaub 2 neue Komponenten, die sowas erleichtern. Ansonsten wirst du um Code wohl nicht drum rum kommen.

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN