FireDAC.Stan.Param.TFDMacros.UpdateCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateCount: Integer read FUpdateCount;

Properties

Type Visibility Source Unit Parent
property public FireDAC.Stan.Param.pas FireDAC.Stan.Param TFDMacros

Description

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

FireDAC.Stan.Param.TFDMacros.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.

See Also