Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomForm.BeginFormUpdate

Increments the form update counter, and disables auto-sizing on the initial update lock.

Declaration

Source position: forms.pp line 582

protected procedure TCustomForm.BeginFormUpdate;

Description

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.

Use EndFormUpdate to decrement the update counter. When the update count reaches 0, auto-sizing is re-enabled.

See also

TCustomForm.EndFormUpdate

  

Unlocks form updates; used with BeginFormUpdate.

TControl.DisableAutoSizing

  

Disables automatic sizing; implies that the default size is accepted, or sizing is done manually.

TControl.EnableAutoSizing

  

Enables automatic sizing for the control.



CT Web help

CodeTyphon Studio