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

# TStrings.SetUpdateState

Sets the update state.

## Declaration

`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.