RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.EndUpdate Method

Performs the reindexing and repaints deferred by a call to BeginUpdate.

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

Call EndUpdate at the end of a segment of code that began with a call to BeginUpdate. Every time BeginUpdate is called, an internal counter is incremented. When EndUpdate is called, the counter is decremented. When every call to BeginUpdate has been matched by a call to EndUpdate, EndUpdate fixes up the indexes and repaints the outline. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!