Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Main - page of object PmWorkspace

Description:
Basic workspace configurators setting. Workspace is the main window with its client area divided into frames. The component browsers (windows of the PmPanel, PmReport, PmAlarmEvent ... objects) are displayed in these frames.
Configuration items:
Main application windowIf checked, 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 permissions AppStop, creating 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 visibleIf checked, the workspace window will contain title with text, icons for closing and resizing the window, system menu, etc.
Displayed window nameThe text, that will be displayed in the workspace window title.

Macro expression can be used for input ($.text ..) (it is evaluated while the application is launching).

In the PmFree mode, the system will add "Promotic" into the window header (if it was not there already).

Initial window stateDefines 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, 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, 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.

See How to use a PROMOTIC application on two or more displays.

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 frameDefault frame identifier (see the configurator "Identifier"). The component browsers (PmPanel, ...) without predefined default open frame will be opened in this frame. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.
sOptions default valueSpecifies additional workspace window parameters. Additional parameters 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;".

See How to use a PROMOTIC application on two or more displays.

Macro expression can be used for input ($.text ..) (it is evaluated while the application is launching).

"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;".
"width:Npx;" - Window width (in pixels). For example "width:1024px;".
"height:Npx;" - Window height (in pixels). For example "height:768px;".
"resizable:B;" - Enables (1 = default) / disables (0) the change of window size. For example "resizable:0;".
"movable:B;" - Enables (1 = default) / disables (0) the change of window position (of upper left corner). For example "movable:0;".
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice