TStoredValue.OnRestore property
Event handler signalled when the collection item value is restored.
Declaration
property OnRestore: TStoredValueEvent read FOnRestore write FOnRestore;Description
OnRestore is a
TStoredValueEvent property with the
event handler signalled when the
Value for the collection item is
restored from the storage container for the collection. Arguments passed to
the event handler identify the collection item and the value for the
collection item. The
Value parameter is a variable argument and
can be modified in the event handler as needed.
OnRestore is signalled (when assigned) from the Restore method,
and occurs after the collection item value has been retrieved from the
collection storage and XOR decoded (when needed). It has not been stored in
the Value property when the event handler is signalled.
Use the OnSave event handler to perform actions needed when the
Value is saved to the storage container for the collection.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
