Skip to content

TBaseMediator.ViewToObject

Copies data from view component to subject object

Declaration

Source position: fpobserver.pp line 121

public 
procedure TBaseMediator.ViewToObject;

Description

The ViewToObject method transfers data from the view's property to the subject's property. It first checks for custom handling via the OnViewToObject event, then performs the default property copying if not was not handled in the event.

This method is typically called when the view component changes, unless the mediator is in read-only mode.

See also

Name Description
ObjectToView Copies data from subject object to view component
OnViewToObject Event triggered when copying data from view to subject