Sign in Join
FPDoc Onlineexperiment

TBaseMediator.ViewToObject procedure

Member of TBaseMediatorpublicIn unit fpObserver

Copies data from view component to subject object

Declaration

pascal
procedure 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

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