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