Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmgRoot (Panel graphic)

Description:
The object is the root of Pmg objects, it is named "PmgRoot" and there is just a single object of such type in each PmaPanel. This object represents the graphics of a single panel.
 
This object cannot be deleted or moved in the tree of Pmg objects.
 
The PmaRoot object fulfills similar role in the tree of Pma objects.
This object adopts properties and methods of the PmgObject object.
Properties and methods:
AddEventTimer Unrepeated or repeated calling of a function after a defined time period
Arguments Input value for opening the panel
BgColor Background color of the graphic panel
ClientType It gets whether the window is opened in the application or in the Web browser
Close Close panel window
FocusColor Outline color rendered around the selected item
GetPanelInfo Information regarding the PmaPanel object that contains this object (name, path, ...)
Print Print the open panel (or its part) to a printer or into the file
RemoveEventTimer Cancelling the unrepeated or repeated calling of function after defined time period
ReturnValue The output value on closing the panel
ViewerScrollX X-coordinate of the upper left corner of visible panel content
ViewerScrollY Y-coordinate of the upper left corner of visible panel content
ViewerTitle Open panel title
Events:
onModeChange Is triggered when the Pmg object mode changes
onPanelStartEnd Is triggered at the end of the panel opening sequence
onPanelStopEnd Is triggered at the end of the panel closing sequence
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
onViewerResize Is triggered if panel window size is changed
Configuration tabs:
Panel Panel size setting
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

History:
Pm9.00.00: Object name changed: PmiRoot -> PmgRoot
Pm8.03.00: Created
PROMOTIC 9.0.12 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