UpdateCount
Returns remainder between number of BeginUpdate and EndUpdate methods called.property UpdateCount: Integer read FUpdateCount;When EndUpdate is called and UpdateCount = 0, postponed updates will be processed.
Example:
BeginUpdate([uoEvents]); { UpdateCount = 1 }
..
BeginUpdate(); { UpdateCount = 2 }
..
EndUpdate(); { UpdateCount = 1 }
..
EndUpdate(); { UpdateCount = 0, do update }