Sign in Join
FPDoc Onlineexperiment

TBaseMediator.OnObjectToView property

Member of TBaseMediatorpublishedIn unit fpObserver

Event triggered when copying data from subject to view

Declaration

pascal
property OnObjectToView: TMediatingEvent read FOnObjectToView write FOnObjectToView;

Description

The OnObjectToView event is triggered before the default subject-to-view data transfer. Setting the Handled parameter to True prevents the default transfer, allowing custom data presentation.

This event is useful for implementing custom formatting, data transformation, or special display logic when updating the view.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.