RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.BeginUpdate Method

Prevents the updating of the outline until the EndUpdate method is called.

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

Call BeginUpdate before adding, removing, or moving multiple outline items. BeginUpdate speeds processing time by deferring repaints and the adjustment of index values until EndUpdate is called.

Note: Make sure that EndUpdate is called after all changes have been made to the nodes in the Items array.
 

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