Datasnap.DBClient.TAggregate.OnUpdate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnUpdate: TAggUpdateEvent read FOnUpdate write FOnUpdate;

C++

__property TAggUpdateEvent OnUpdate = {read=FOnUpdate, write=FOnUpdate};

Properties

Type Visibility Source Unit Parent
event published
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TAggregate

Description

Occurs when the value of the aggregate is recalculated.

Write an OnUpdate event handler to respond when the aggregate value is recomputed. For example, write code in an OnUpdate event handler to invalidate any controls that display the value of the aggregate so that they can repaint with the new value.

OnUpdate is an event handler of type Datasnap.DBClient.TAggUpdateEvent.

See Also