Progress
ADM 2 Reference
instancePropertyList (smart.p)
Returns a list of the values of the names of the object’s InstanceProperties, that is, those properties that can be set to initial values in design mode. These can be set in the AppBuilder to determine the object instance’s behavior at run time.
Parameters:INPUT pcPropList AS CHARACTER
Optional list of properties wanted. If this parameter is blank, the default is all of the instance properties. Other valid options are
"
*"
(all properties), or a list of the specific properties wanted.Returns: CHARACTER (Specially delimited list of property names and values.)Notes:
- The properties are returned in a string delimited by CHR(3) between property name/value pairs, and CHR(4) between the name and the value.
- Normally used internally by the AppBuilder at application design time to retrieve a list of property names and values to insert into the generated code in the adm–create–objects procedure.
- If the input parameter is the special value
“
ADM–TRANSLATABLE–FORMAT”
, then the property list string is returned in precisely the form used in generating adm–create–objects, with the special translation suffix“:
U”
inserted in the list following nontranslatable property values, and the suffix left off for special translatable properties such as the Tab Folder’s FolderLabels property.- If the input parameter is the special value
"
*"
, then all object properties are returned with their values. A list of object properties is determined by identifying all the get property functions for the object (functions beginning"
get"
with no following hyphen, taking no input parameters), plus all dynamic properties stored in the UserProperty string.- If the input parameter is a comma-separated list of property names, just those properties and their values are returned.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |