psAutoOpenWorkspace - cApplication
Controls which workspace file is opened by cApplication object in program
Type: Property
Access: Read/Write
Data Type: String
Parameters: None
Syntax
Property String psAutoOpenWorkspace
| Access Type | Syntax |
|---|---|
| Read Access: | Get psAutoOpenWorkspace to StringVariable |
| Write Access: | Set psAutoOpenWorkspace to StringVariable/Value |
Description
psAutoOpenworkspace specifies the name of a workspace which will be opened during a cApplication's end_construct_object process. Its default value is "config.ws" which is the normal name for a newly created ws file. This means that any new project created for any new workspace requires no customization of the workspace object. All this is required is:
Object oApplication is a cApplication
End_Object // oApplication
You completely disable the automatic opening of workspaces by setting the psAutoOpenWorkspace property to "". The following example will not open any workspace.
Object oApplication is a cApplication
Set psAutoOpenWorkspace to ""
End_Object // oApplication
If you do this, you will need to write your own code to open the workspace.