In this object the viewer of any Pma
object can be displayed (e.g. PmaPanel
). If the size of the inserted viewer is greater than the size of the object, then the object keeps its size and scrollbars appear, that allow to access the whole viewer in the object. The viewer to be displayed by this Pmg
object, is defined by the Src
The inserted viewer behaves as a real Pmg
object and it can not be opened separately, closed or moved interactively by the mouse, but only by changing the properties of the Pmg
object (in the script or binding).
This way the object allows splitting the panel (workspace) into separate portions, that consist of individual PmgFrame
objects, with versatile content. It is possible, for example, to create a panel, split it vertically into two portions of the same size (two PmgFrame
objects) and to display different viewer in each portion (e.g. the certain units). The unit that is currently being displayed in specific portion can be dynamically changed (in the script). Caution:
For most of the Promotic
objects it is not possible to open the same viewer multiple times simultaneously in the runtime mode. The viewer can be opened only in one instance at a time.
This object is the Window Pmg object