Properties Operator (FPScript)
Used to access the properties of an object.
Syntax
Object.Property[([Argument1[, Argument2]]...)]
The syntax of the Properties operator consists of the following elements:
Element |
Description |
---|---|
Object |
An expression that addresses an object. |
Property |
Specifies the name of the property. |
Argument1...n |
An optional argument list for the property. |
Remarks
You can access all properties of an object defined in FlexPro's Automation Object Model using the properties operator.
In general, FPScript only allows read-access to properties. Write-access to object properties is greatly reduced and only permitted for the properties UnitY, UnitX, UnitZ, CommentsY, CommentsX, and CommentsZ of the formula containing the FPScript code. You can use FlexPro Visual Basic to obtain write-access to object properties and to call object methods.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
Application.Databases("Project Database").FullName |
Returns the full path name of the open FlexPro project database called "Project Database". |
Application.ActiveDatabase.Name |
Returns the name of the currently active FlexPro project database. |
.$String$ |
Accesses the property with the formula object name stored in String, in which this FPScript code is used. |