Autor Beitrag
colaka
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 200
Erhaltene Danke: 4

Win XP, W7
Delphi 2005 Prof.
BeitragVerfasst: Do 28.02.13 20:46 
Hallo,

mein Formular soll man nicht unter 460 Pixel verkleinern können. Das mache ich jetzt so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm.FormResize(Sender: TObject);
begin
  if Form.Width < 460 then Form.Width := 460;
end;


Gibt es da vielleicht etwas eleganteres?

Danke

_________________
Mit 2 Stunden Ausprobieren kann man sich oft 5 Minuten Nachdenken ersparen
WasWeißDennIch
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 653
Erhaltene Danke: 160



BeitragVerfasst: Do 28.02.13 20:51 
Japp, klapp mal im Objektinspektor die Constraints auf ;)

Für diesen Beitrag haben gedankt: colaka