(Formerly known as GetObjectPropertyText, which is now obsolete)
(Formerly known as Object.GetPropertyText, which is now obsolete)
String Object.GetTextProperty(string property)
Returns the custom property setting of the PROPERTY for the specified object.
This command works with Text properties only. The property's text will be
returned from this function.
Use the equivalent GetProperty function to get a non-text property.
Example:
String description = object[0].GetTextProperty("Description");
Display("Object 0's description: %s", description);
will retrieve Object 0's "description" property then display it.
See Also: Object.GetProperty
|