Setting application properties in scripts
The Application object has several properties that specify
application-level properties. For example, the property ToolbarText
specifies whether text displays on toolbars in an MDI
application.
You can reference these properties in any script in the
application using this syntax:
|
1 |
AppName.property |
For example, to specify that text displays on toolbars in the
Test application, code this in a script:
|
1 |
Test.ToolbarText = TRUE |
If the script is in the Application object itself, you do not
need to qualify the property name with the application name.
Application name cannot be changed
The name of an application is one of the Application object’s
properties, but you cannot change it.
For a complete list of the properties of the Application
object, see the section called “Application object” in Objects and Controls.