API:Vcl.CategoryButtons.TButtonCategories.UpdateCount
Delphi
property UpdateCount: Integer read GetUpdateCount;
C++
__property int UpdateCount = {read=GetUpdateCount, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.CategoryButtons.pas Vcl.CategoryButtons.hpp |
Vcl.CategoryButtons | TButtonCategories |
Description
Counts the number of times BeginUpdate was called without a corresponding call to EndUpdate.
Vcl.CategoryButtons.TButtonCategories.UpdateCount inherits from System.Classes.TCollection.UpdateCount. All content below this line refers to System.Classes.TCollection.UpdateCount.
Counts the number of times BeginUpdate was called without a corresponding call to EndUpdate.
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.