[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomListView.BeginUpdate

Starts an update process for the list view control.

## Declaration

Source position: comctrls.pp line 1631

`public procedure TCustomListView.BeginUpdate;`

## Description

BeginUpdate is a method which increments an internal counter used to track active updates to the control. Use this method before performing a large number or changes to the control so that the interface will not show any single step until the counter reaches 0.

BeginUpdate includes the value lffPreparingSorting in the flags for the control. This suppresses reordering of list items using sort methods until the flag value is removed. When the internal update counter has the value 1, the corresponding method in the widgetset class is called when its handle has been allocated.

Use EndUpdate to decrement the internal counter when an update is completed.

## See also

TCustomListView.EndUpdate |  | Finishes an active update for the list view control.