Vcl.ComCtrls.TListItems.SetUpdateState
Delphi
procedure SetUpdateState(Updating: Boolean);
C++
void __fastcall SetUpdateState(bool Updating);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TListItems |
Description
Performs internal adjustments before or after a series of updates.
The BeginUpdate and EndUpdate methods call the SetUpdateState state when an update operation first starts or finally stops. If the calls to BeginUpdate and EndUpdate are nested, SetUpdateState is only called by the first BeginUpdate call and the last EndUpdate call.
SetUpdateState refreshes the list view when Updating is false, so that the list view reflects the new set of items.