diff --git a/docs/xml/lcl/propertystorage.xml b/docs/xml/lcl/propertystorage.xml index 611acd0b8f..0f05b67a62 100644 --- a/docs/xml/lcl/propertystorage.xml +++ b/docs/xml/lcl/propertystorage.xml @@ -12,7 +12,7 @@

- propertystorage.pas contains classes and types used to define a storage container for property values: TCustomPropertyStorage. This is a base class and contains abstract virtual methods which must be implemented in a descendent class. For example: TControlPropertyStorage, TFormPropertyStorage, TIniPropStorage, TJSONPropStorage, and TXMLPropStorage. + propertystorage.pas contains classes and types used to define a storage container for property values: TCustomPropertyStorage. This is a base class and contains abstract virtual methods which must be implemented in a descendent class. For example: TControlPropertyStorage, TFormPropertyStorage, TIniPropStorage, TJSONPropStorage, and TXMLPropStorage.

This file is part of the Lazarus Component Library (LCL). @@ -322,7 +322,7 @@ Implements a collection for TStoredValue collection items.

- TStoredValues is a TOwnedCollection descendant which implements an owned collection for TStoredValue collection items. + TStoredValues is a TOwnedCollection descendant which implements an owned collection for TStoredValue collection items.

TStoredValues provides properties and methods used to access the TStoredValue collection items or their values. Use Items to read and write a collection item by its ordinal position in the collection. Use Values to read and write a collection item by its name. Use StoredValue to read and write the value for a collection item by its name. @@ -656,13 +656,13 @@ - True when everything has been saved. + True when everything has been saved. - True when everything has been restored. + True when everything has been restored. @@ -726,7 +726,7 @@

- RootSection is a String function which builds the path in the storage container where the property values are located. + RootSection is a String function which builds the path in the storage container where the property values are located.

RootSection uses the value in the Root property to determine the return value for the method. When Root is assigned and derived from TComponent, its Name or ClassName property is prepended to the return value. Preference is given to the value in its Name property. @@ -780,7 +780,7 @@

- RestoreProperties is a method used to load property values stored in the container, and apply the values to the origin components / persistent object instances. Properties names and the corresponding object instances are loaded using the GetPropertyList and FinishPropertyList methods. + RestoreProperties is a method used to load property values stored in the container, and apply the values to the origin components / persistent object instances. Properties names and the corresponding object instances are loaded using the GetPropertyList and FinishPropertyList methods.

A temporary TPropsStorage instance is created and configured to use RootSection and DoReadString from the class instance. The LoadObjectsProps method is called to get the property values and apply them to the object instances for the property list.