Parent - property of the PmgObject object

Returns reference to the parent Pmg object.
Object Parent
Property access for read only.
If the Pmg object is part of another Pmg object (compound item), then it's parent is returned. If the Pmg object is topmost item (placed on the panel desktop), then returns Pmg object (that represents panel) is returned. Pmg object that represents panel is returns the value null for JavaScript or Nothing pro VBScript. Nothing value can be tested by VBScript Is operator.
This property is also functional in Web panels.
JavaScriptVBScriptSelect and copy to clipboard

var oItem = pMe.Items("/Pane0/Txt0");
var oParent = oItem.Parent;
PROMOTIC 9.0.17 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