Sign in Join
FPDoc Onlineexperiment

TControl.FormIsUpdating function

Member of TControlpublicIn unit Controls

True if the form is being updated.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.