PropertyGet function (automation interface)
We recommend that you do not use this function for returning the value of an object attribute.
Syntax: PropertyGet
PropertyGet("<attribute>")
Where:
PropertyGet returns a property's value in a string. A property can be either an attribute of an object or an associated object.
If no argument is given the default property of the object is returned. Unless otherwise stated in the object's description, this property is
Name.
|
You can use an association name instead of an attribute name to return the default attribute (typically the Name) of the first object that is associated through the chosen association.
|
Examples
To display the Description of an active item:
strMessage = CurrentObject.PropertyGet("Description")
Call Msgbox(strMessage)
To display the default property (typically its name) of an active item:
strMessage = CurrentObject.PropertyGet
Call Msgbox(strMessage)