Autosize / Layout

From Free Pascal wiki
Revision as of 21:22, 20 November 2007 by Mattias2 (talk | contribs) (New page: =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 applicati...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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; // reset the counter AutoSize:=true; // do one AutoSize