TCustomForm.EndFormUpdate procedure
Decrements the form update counter, and re-enables auto-sizing on the form.
Declaration
procedure EndFormUpdateDescription
EndFormUpdate is used along with BeginFormUpdate method to manage
auto-sizing during form updates. An initial call to BeginFormUpdate
disables auto-sizing when the form instance is created.
EndFormUpdate decrements the internal update counter. When the
update count reaches
0, auto-sizing is re-enabled.
BeginFormUpdate is called from the CreateNew method and disables auto-sizing while the new form instance is configured. EndFormUpdate is called from the AfterConstruction method, and occurs after the bounds for the form have been updated but before the form is scaled using AutoAdjustLayout.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
