Skip to content

TBaseMediator.OnViewToObject

Event triggered when copying data from view to subject

Declaration

Source position: fpobserver.pp line 141

published property OnViewToObject: TMediatingEvent;

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

Name Description
OnObjectToView Event triggered when copying data from subject to view
Subject Model object implementing IFPObserved interface
ViewPropertyName