Autor Beitrag
cromos
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 219


Delphi 7
BeitragVerfasst: Sa 30.08.03 17:32 
Hallo,

habe eine Frage: Bei den meisten Programmen kann man ja die grösse der Form verändern. Wie mach ich es, das sich dabei auch die Grösse der Controls verändert.

Sprich, wenn der Anwender die Form Maximiert, das die Controls alle an der richtigen Stelle sitzen, und das selbe wenn er sie verkleinert.

Gruss
Cromos
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Sa 30.08.03 17:33 
Dazu musst Du in den Kompos die Anchors setzen. Setze alle 4 auf True, dann vergrößern/verkleinern sich die Komponenten genauso, wie das Parent
FeG
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 77

Win XP Home, SuSE Linux 8.2 Prof
D3 Prof, D7 Prof
BeitragVerfasst: Sa 30.08.03 17:34 
Hi,

du kannst auch die Eigenschaft "Align" verwenden...

MfG,
FeG

//edit: Ich meinte natürlich Align, nicht Alignment :roll: