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 Pmg object tree.
 
The PmaRoot object fulfills similar role in the tree of Pma objects.
This object adopts properties and methods of object PmgObject.
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 Printing 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:
onPanelStartEnd Is triggered at the end of the panel opening sequence
onPanelStopEnd Is triggered at the end of the panel closing sequence
onViewerResize Is triggered if panel window size is changed
Configuration windows:
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 methods in the Pmg object

History:
Pm9.00.00: Object name changed: PmiRoot -> PmgRoot
Pm8.03.00: new object that represents the whole graphic content of a panel
- There is a single object of this type in each graphic panel. All internal panel properties were moved into this item, e.g. Panel width, Panel height, Object parameters, etc.
- There is a new icon in the toolbar (Edit the PmgRoot object object).
- Each object has a new script property PmgObject.Root that can be used to access the PmgRoot object in any event.
- PmgRoot.onViewerResize event: In this event, it is possible to increase / decrease size and move objects in order to optimize the items displayed in window of specific size.
PROMOTIC 9.0.7 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