[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Update a stringlist with object references
Source position: rttiutils.pp line 130
procedure UpdateStoredList( |
AComponent: TComponent; |
AStoredList: TStrings; |
FromForm: Boolean |
); |
AComponent |
|
Root component |
AStoredList |
|
List of property references to resolve |
FromForm |
|
Start search from form or search globally |
UpdateStoredList will parse the strings in AStoredList using ParseStoredItem and will replace the Objects properties with the instance of the object whose name each property path in the list refers to. If FromForm is True, then all instances are searched relative to AComponent, i.e. they must be owned by AComponent. If FromForm is False the instances are searched in the global list of streamed components. (the FindGlobalComponentCallBack callback must be set for the search to work correctly in this case)
If a component cannot be found, the reference string to the property is removed from the stringlist.
If AComponent is Nil, an exception may be raised.
|
Split a property reference to component reference and property name |
|
|
Store a list of component properties |
|
|
Load a list of component properties |
|
|
Callback used when component references must be resolved. |