Sign in Join
FPDoc Onlineexperiment

TCollection.EndUpdate procedure

Member of TCollectionpublicIn unit Classes

Ends an update batch.

Declaration

pascal
procedure EndUpdate; virtual

Description

EndUpdate signals the end of a series of operations that change the state of the collection, possibly triggering an update event. It does this by decreasing the update count with 1 and calling Changed it should always be used in conjunction with BeginUpdate, preferably in the Finally section of a Try ... Finally block.

See also

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