Skip to main content

csUpdating

csUpdating = 6

Example

function IsApplyingAncestorChanges(const State: TComponentState): Boolean;
begin
Result := csUpdating in State;
end;

Usage

csUpdating is present while the Designer is applying changes from a parent design to a component.

Additional Technical Info

csUpdating is member ordinal 6 of the component-state element enumeration used by TComponentState. The design/streaming framework sets it while applying changes inherited from an ancestor component definition; it normally accompanies csAncestor.

It is unrelated to a dataset update, software upgrade, Git pull or Velox configuration publication. It does not mean changes have committed or that an application transaction exists.

The framework owns the transient read-only flag. Avoid side effects that assume the final inherited state while it is present. The example is source-reviewed only; no ancestor update ran.

External references

Created 2026-07-15