Promotic

GetPanelInfo - method of the PmgRoot object

Description:
Information regarding the PmaPanel object that contains this object (name, path, ...).
Syntax:
String GetPanelInfo(Long nType)
Parameters:
nType(Long) Type of requested information.
1 - Object name (the same value as Name property of the PmaPanel object).
2 - Path to the object (the same value as the GetPathName method of the PmaPanel object).
Note:
This method is also functional in Web panels.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oRoot = pMe.Root;
var sName = oRoot.GetPanelInfo(1);
var sPath = oRoot.GetPanelInfo(2);

History:
Pm9.00.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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