Sign in Join
FPDoc Onlineexperiment

TBaseMediator.OnViewToObject property

Member of TBaseMediatorpublishedIn unit fpObserver

Event triggered when copying data from view to subject

Declaration

pascal
property OnViewToObject: TMediatingEvent read FOnViewToObject write FOnViewToObject;

Description

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

This event is useful for implementing custom validation, data transformation, or special handling during user input processing.

See also

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