Object PmgFrame

In this object the viewer of any Pma object can be displayed (e.g. PmaPanel, PmaReport, PmaAlarmGroup, PmaWorkspace). 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 property.
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.
This object adopts properties and methods of the PmgObject object.
Properties and methods:
OpenView Opens the viewer of another object in this PmgFrame object (obsolete)
Src Path to the Promotic object viewer
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
onModeChange Is triggered when the Pmg object mode changes
onRefresh Is triggered on the data refresh of the Pmg object
onStart Is triggered on the construction of the Pmg object in the course of opening the panel
onStop Is triggered on the destruction of the Pmg object in the course of closing the panel
Configuration tabs:
Object General information about the object
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Frame Properties of the PmgFrame object.

Pm9.00.00: Object name changed: PmiWFrame -> PmgFrame
Pm8.02.00: In the PmgFrame object, there is a new method OpenView that allows to open the viewer with parameter.
Pm8.00.02: in the PmaWorkspace object another PmaWorkspace object can be opened now, see Opening the viewer.
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice