Provides properties management functionality.
TPropsManager = class(TCustomPropsManager);
ecPropManager
This component solves two tasks:
1. Sharing properties (settings) between objects.
2. Storing properties (settings) to registry or INI file.
TemplateObj specifies root object which is used to get
properties values.
|
Topic |
Description |
|
The methods of the TCustomPropsManager class are listed here. | |
|
The properties of the TCustomPropsManager class are listed here. |
|
Topic |
Description |
|
The properties of the TPropsManager class are listed here. |
|
Method |
|
protected |
|
virtual |
|
Property |
|
read only |
|
TCustomPropsManager Methods |
Description |
|
Adds object Obj to managed objects list. | |
|
Copies properties from Obj to Template object. Processes only properties specified in Properties. | |
|
Copies property PropName from Source to Dest object. | |
|
Copies properties from Dest to Source object. Processes only properties specified in Properties. | |
|
Copies properties from TemplateObj to Obj object. Processes only properties specified in Properties. | |
|
Creates and initializes a TCustomPropsManager instance. | |
|
Destroys an instance of TCustomPropsManager. | |
|
Enumerates properties defined in Properties. | |
|
Loads properties from INI file or registry and assigns them to template object. | |
|
Removes object from managed objects list. | |
|
Saves properties to INI file or registry and assigns them to template object. | |
|
Copies properties from TemplateObj object to all managed objects. |
|
TCustomPropsManager Properties |
Description |
|
Returns number of managed objects. | |
|
Specifies name of INI file. | |
|
Specifies INI section name or registry key. | |
|
Lists managed objects. | |
|
Specifies list of properties. | |
|
Specifies root key in registry. | |
|
Specifies template object. | |
|
Specifies storage of properties. |
|
TPropsManager Class |
Description |
|
Specifies name of INI file. | |
|
Specifies INI section name or registry key. | |
|
Specifies list of properties. | |
|
Specifies root key in registry. | |
|
Specifies template component. | |
|
Specifies storage of properties. |
|
Copyright (c) 2004-2011. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|