Sign in Join
FPDoc Onlineexperiment

TStoredValues.Storage property

Member of TStoredValuespublicIn unit PropertyStorage

Storage container used to Save and Restore the Values for the collection Items.

Declaration

pascal
property Storage: TCustomPropertyStorage read FStorage write FStorage;

Description

Storage is a TCustomPropertyStorage property with the storage container used to save and restore the values for the Items in the collection. Storage contains the value passed as the Owner argument to the Create constructor, or Nil when the parameter is not derived from TCustomPropertyStorage.

TCustomPropertyStorage is an ancestor class which contains abstract virtual methods; normally, one of the descendent classes which implement a specific storage mechanism is used as the Owner. For example: TControlPropertyStorage, TFormPropertyStorage, TIniPropStorage, TJSONPropStorage, and TXMLPropStorage.

Storage is used when the SaveValues or RestoreValues method is called. The TStoredValue instances in Items access the property when they call their Save or Restore methods.

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