Autosize / Layout
From Free Pascal wiki
Revision as of 20:23, 20 November 2007 by Mattias2 (talk | contribs) (→Why does TForm.AutoSize not work when something changes?)
FAQ
Why does TForm.AutoSize not work when something changes?
TForm.AutoSize only works once at creation time. After that the size is up to user and the windowmanager. The application can force a resize with the following:
AutoSize:=false; // first reset the counter AutoSize:=true; // then do one AutoSize