Promotic

Object PmgFrame (Frame for other browsers)

Description:
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 inherits properties, methods and events of the PmgObject object.
Properties and methods of this object:
OpenViewOpens the viewer of another object in this PmgFrame object (obsolete)
SrcPath to the Promotic object viewer
Properties and methods inherited from the PmgObject object:
AddEventRegisters a function into selected event
BlinkStarts/stops blinking of the Pmg object
DxWidth of the Pmg object
DyHeight of the Pmg object
EnabledEnable/disable the control, i.e. user's inputs to the object
FocusDetects/set the focus of the Pmg object
GetChildByIndexReturns the nested Pmg object defined by order
GetChildCountReturns the number of nested Pmg objects
GetPathNameObject name with the path to this object
GetItemInfoReturns special information regarding the Pmg object
GetParReading the value of the Pmg object parameter (or its parents)
IniDxInitial width of the Pmg object
IniDyInitial height of the Pmg object
IniXInitial X-position of the left upper corner of the Pmg object relative to superior object
IniYInitial Y-position of the left upper corner of the Pmg object relative to superior object
ItemsReturns reference to Pmg object
MethodsAccess to designer's methods of this object
MouseOnIdentification if the mouse cursor finds itself over the Pmg object
NameThe name of the Pmg object
ParentReturns reference to the parent Pmg object
PmReturns the Pma object (obsolete)
PmPanelReturns reference to the PmaPanel object where the Pmg object is placed
RefreshRefresh of the Pmg object
RemoveEventDeregisters the function in the specified event
RootReturns reference to the root PmgRoot object
ShowMenuOpens local menu of the Pmg object
ScreenXX-coordinate of the left upper corner of the Pmg object relative to computer screen
ScreenYY-coordinate of the left upper corner of the Pmg object relative to computer screen
ToolTipTooltip text of the Pmg object
VarsReturns the variable of the Pmg object
ViewXPosition of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
ViewYPosition of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
VisibleSets the visibility/invisibility of the Pmg object
XX-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
YY-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Events inherited from the PmgObject object:
onStartIs triggered on the construction of the Pmg object in the course of opening the panel
onStopIs triggered on the destruction of the Pmg object in the course of closing the panel
onRefreshIs triggered on the data refresh of the Pmg object
onModeChangeIs triggered when the Pmg object mode changes
onFocusInIs triggered if the object receives focus
onFocusOutIs triggered if the object loses focus
Configuration tabs:
ObjectGeneral information about the object
PositionSetting the position, width and height of the Pmg object
VariablesList and configuration of user defined Pmg object variables
EventsAlgorithms definition for the object events
MethodsDefinition of designer's method of the Pmg object
FrameProperties of the PmgFrame object.

History:
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.
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.