TStoredValue.OnSave property
Event handler signalled when the collection item value is saved.
Declaration
property OnSave: TStoredValueEvent read FOnSave write FOnSave;Description
OnSave is a
TStoredValueEvent property with the event
handler signalled when the
Value for the collection item is saved
to 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.
OnSave is signalled (when assigned) from the Save method, and
occurs before the collection item value is XOR encoded (when needed) and
written to the storage container for the collection.
Use OnRestore to perform actions needed when the collection item
is retrieved from the storage container for the collection.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
