RAD Studio VCL Reference
TButtonCategories.UpdateCount Property

Counts the number of times BeginUpdate was called without a corresponding call to EndUpdate.

property UpdateCount: Integer;
__property int UpdateCount;

UpdateCount keeps track of calls to BeginUpdate and EndUpdate so that they can be nested. Every call to BeginUpdate increments UpdateCount. Every call to EndUpdate decrements it. When UpdateCount returns to 0, the collection updates itself to reflect all changes that occurred since the first call to BeginUpdate. 


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