Autor Beitrag
D. Annies
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 21.03.09 09:15 
Hi, Delpher,

ich habe das folgende Problem:

Ein Formular Form2, welches ca. 1/4 der Bildschirmhöhe und Bildschirmbreite hat, befindet sich am unteren Rand des Bildschirms. Mit .Show bzw .ShowModal mache ich es über Form1 sichtbar.

Auf diesem Form2 befindet sich ein Stringgrid. Wenn ich es nach oben ziehe (in der Höhe vergrößere) "wächst" auch das Stringgrid mit, bzw. es verändert ein bisschen seine Größe.

Wie kann ich das vermeiden? Es scheint ja eine Kopplung zwischen Form2 und Stringgrid1 vorzuliegen. Anchors habe ich nicht verwendet, sondern nur ganz normal das Stringgrid positioniert.

Danke für Hilfe,
Detlef

_________________
ut vires desint, tamen est laudanda voluntas
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 21.03.09 16:22 
Ich habe jetzt Stringgrid1.Align auf altop gesetzt und siehe da, jetzt ist alles ok, das Stringgrid behält seine Größe.

Grüße, Detlef

_________________
ut vires desint, tamen est laudanda voluntas