Callback to read strings from storage.
Source position: rttiutils.pp line 69
type TReadStrEvent = function( |
const ASection: string; |
const Item: string; |
const Default: string |
):string of object; |
ASection |
|
Section to read value from. |
Item |
|
Key name for value. |
Default |
|
Default return value if none was found. |
Value of Item in section ASection.
TReadStrEvent is used by TPropsStorage to read strings from a storage mechanism, in a .ini file like fashion: The call should read the string in ASection with key Item, and if it does not exist, Default should be returned.
|
Property storage mechanism. |
|
|
Write a string to storage. |
|
|
Clear a storage section. |