TCustomForm.BeginFormUpdate procedure
Increments the form update counter, and disables auto-sizing on the initial update lock.
Declaration
procedure BeginFormUpdateDescription
Used with the EndFormUpdate method to manage auto-sizing during
form updates. For the initial call to BeginFormUpdate,
DisableAutoSizing is called to suspend auto-sizing.
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.
