RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractNamedVariants.BeginUpdate Method

Signals the start of an update operation.

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

Call BeginUpdate before starting an operation that makes multiple changes to the named Variants list. After completing all of the changes, call the EndUpdate method to signal the end of the operation.  

Every call to BeginUpdate must be matched by a corresponding call to the EndUpdate method.

Note: TAbstractNamedVariants calls BeginUpdate and EndUpdate internally when performing operations that affect multiple entries in the list.
 

 

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