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

TStrings.SetUpdateState

Sets the update state.

Declaration

Source position: classesh.inc line 586

protected procedure TStrings.SetUpdateState(

  Updating: Boolean

); virtual;

Description

SetUpdateState sets the update state to Updating. The TStrings implementation of SetUpdateState does nothing.

Descendent objects may override this method to implement optimizations. If Updating is True then the list of strings is about to be updated (possibly many times). If it is False no more updates will take place till the next SetUpdateState call.

See also

TStrings.BeginUpdate

  

Mark the beginning of an update batch.

TStrings.EndUpdate

  

Mark the end of an update batch.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.