Skip to content
GR32>TThreadPersistent>BeginUpdateMethod
Inherited from:TNotifiablePersistent.BeginUpdate

TThreadPersistent.BeginUpdate

Increments the update counter to defer change notifications.

Declaration

pascal
procedure BeginUpdate; virtual;

Description ​

Call BeginUpdate before making multiple modifications to the object state.

BeginUpdate increments UpdateCount. While UpdateCount is greater than zero, calls to Changed mark Modified as True instead of immediately firing the OnChange event.

Note

Every call to BeginUpdate must be paired with a corresponding call to the EndUpdate method.