[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.FormIsUpdating

True if the form is being updated.

Declaration

Source position: controls.pp line 1724

public function TControl.FormIsUpdating: Boolean; virtual;

Function result

True if the form is being updated.

Description

The return value is True when a value has been assigned to Parent, and its FormIsUpdating method returns True. This causes all assigned Parent controls in the hierarchy to be examined to determine the return value.

Eventually, one of the Parent controls will be the TCustomForm instance which hosts all of the controls. It sets the return value to True when its internal update counter has a non-zero value. This occurs when the form has called BeginFormUpdate, but has not called EndFormUpdate to complete an update.

See also

TCustomForm.FormIsUpdating

  

Indicates if the BeginFormUpdate method has been called without a corresponding EndFormUpdate method call.

TCustomForm.BeginFormUpdate

  

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

TCustomForm.EndFormUpdate

  

Decrements the form update counter, and re-enables auto-sizing on the form.


Version 3.2 Generated 2024-02-25 Home