Skip to content

TBaseMediator.ObjectToView

Copies data from subject object to view component

Declaration

Source position: fpobserver.pp line 119

public 
procedure TBaseMediator.ObjectToView;

Description

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

This method is called automatically when the subject changes, or can be called manually to force a data refresh.

See also

Name Description
ViewToObject Copies data from view component to subject object
OnObjectToView Event triggered when copying data from subject to view