Sign in Join
FPDoc Onlineexperiment

TBaseMediator.ReadOnly property

Member of TBaseMediatorpublishedIn unit fpObserver

Prevents data transfer from view to subject when True

Declaration

pascal
property ReadOnly: Boolean read FReadOnly write SetReadOnly;

Description

The ReadOnly property controls the direction of data transfer. When True, data flows only from subject to view, preventing user input from modifying the subject object.

This is useful for display-only scenarios where the view should reflect the subject's state but not allow modifications.

See also

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