RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItems.BeginUpdate Method

Prevents updating of the list view until the EndUpdate method is called.

Pascal
procedure BeginUpdate;
C++
__fastcall BeginUpdate();

Call BeginUpdate before making multiple changes to the list of items. When all changes are complete, call EndUpdate so that the changes can be reflected on screen. BeginUpdate and EndUpdate prevent excessive redraws and speed processing time when new items are added, deleted, or inserted. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!