System.Classes.TStringList.SetUpdateState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetUpdateState(Updating: Boolean); override;

C++

virtual void __fastcall SetUpdateState(bool Updating);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TStringList

Description

Performs internal adjustments before or after a series of updates.

SetUpdateState is called at the beginning or end of a series of updates. When the BeginUpdate method is first called and if the TStringList object is not already in the middle of an update, TStringList calls SetUpdateState internally, with Updating set to True. When the EndUpdate method is called and it cancels out the last unmatched call to BeginUpdate, TStringList calls SetUpdateState internally, with Updating set to False.

See Also