Skip to content

CreateStoredItem

Concatenates component and property name.

Declaration

Source position: rttiutils.pp line 138

function CreateStoredItem(const CompName: string; 
                         const PropName: string) : string;

Arguments

Name Description
CompName Component name.
PropName Property name.

Function result

Full property path.

Description

CreateStoredItem concatenates CompName and PropName if they are both empty. The names are separated by a dot (.) character. If either of the names is empty, an empty string is returned.

This function can be used to create items for the list of properties such as used in UpdateStoredList, TPropsStorage.StoreObjectsProps or TPropsStorage.LoadObjectsProps.

See also

Name Description
ParseStoredItem Split a property reference to component reference and property name.
UpdateStoredList Update a stringlist with object references.
TPropsStorage.StoreObjectsProps Store a list of component properties.
TPropsStorage.LoadObjectsProps Load a list of component properties.