[Overview][Types][Classes][Index] |
Event handler signalled when the collection item value is restored.
Source position: propertystorage.pas line 61
published property TStoredValue.OnRestore : TStoredValueEvent |
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.
|
The value of the property (as a String or a Variant type). |
|
|
XOR encoding key, empty for encoding is not used. |
|
|
The collection containing the collection item. |
|
|
Loads the value for the collection item from the storage container for the collection. |
|
|
Event handler signalled when the collection item value is saved. |
|
|
Saves the value for the collection item to the storage container for the collection. |
Version 4.0 | Generated 2025-05-03 | Home |