|Main application window||If checked, then the workspace becomes main application window. The main application window is firmly bound to the running application. The workspace window is opened automatically at application launch. Closing the main window causes closing the application itself (obviously it is necessary to comply with the AppStop permission, fires the onAppStopBegin event, etc.). Multiple PmWorkspace objects can be activated by this option simultaneously. This fact is important especially for applications running simultaneously on two or more displays, where separate workspaces (of the main window type) can be located on each display. |
If not checked, then the workspace is usual (auxilliary) application window. The auxilliary workspace window is not open automatically on application launch. It can be displayed (see Object viewer open) and closed as needed without bonding with the application.
|Window caption visible||If checked, then the workspace window will contain title with text, icons for closing and resizing the window, system menu, etc.|
|Displayed window name||The text, that will be displayed in the workspace window title. |
In the PmFree mode, the system will add "Promotic" into the window header (if it was not there already).
|Initial window state||Specifies the initial state of workspace window after application launch. |
Caution: If either resizing or moving the window is disabled with the options resizable:0; or movable:0; in additional window parameters, then the state of workspace window cannot be changed as well.
Maximalized - Window is maximized (by default on the first display). If maximizing the window on another display is needed, then it is necessary to set the initial window position, so the major portion of the window is located on requested display. The window is then opened on set position (display) and maximized on the same display.
Minimalized - The window is mimimized to program bar.
Normal - The window is in normal state (i.e. is not maximized, can be moved and resized).
|Default frame||Default frame identifier (see the configurator "Identifier"). The component viewer (PmPanel, ...) without predefined default open frame will be opened in this frame. This is a system name and must not contain diacritics, empty string, spaces and the first character must not be a number.|
|sOptions default value||Specifies additional workspace window parameters. Values can be entered manually or created by the button on the right, that will open the window for Setting the additional parameters of workspace window. For example "left:0px;top:0px;width:1024px;height:768px;resizable:0;movable:1;". |
"left:Npx;" - X axis position of upper left corner of the window (in pixels). For example "left:0px;".
"top:Npx;" - Y axis position of upper left corner of the window (in pixels). For example "top:0px;".
"resizable:B;" - Enables (1 = default) / disables (0) the change of window size. For example "resizable:0;".