Using this method is not recommended. It is not proper to make references to Pmg objects outside the panel that contains the object (one of the problems is that such thing is not functional in the Web panel). In order to obtain the reference to panel Pmg object (in Pmg object events) it is recommended to use the PmgObject.Items method.
This method/property/event is considered obsolete and is functional only if the "Level of integration of panel viewer and the local application" configurator is set to full - FULL access from scripts to the whole application (only for VBScript and if the "Enable multiple opening of local panel" configurator IS NOT SET.
Instead of of this method it is better to use the PmgObject.Items method.
|sPath||(String) Absolute path to the Pmg object (case sensitive text). |
The path describes the location of the object in the tree structure of the immersed Pmg objects. Each tree level adress is separated by the / character. The immersed Pmg object is referrenced by its name. The superior Pmg object is referrenced by .. characters. The absolute path starts with the / character and describes the path to the Pmg object from the beginning of the tree structure. The relative path starts with the name of the immersed Pmg object or by reference to superior Pmg object by .. characters, or by reference to itself ., describes the path to another Pmg object relative to itself.
The immersed implementation subobject (other than PmaObject type) is referrenced by # character, followed by the implementation subobject type definition (e.g. #vars). It means that the # addressing leaves the panel Pmg objects tree and starts to address the implementation subobjects. For example "/text0/#vars/Temperature".
|nAttr||[optional] (Long) It allows to change the behavior of the method.|
0 (default) - default behavior.
1 - When referencing the non-existing object, the global error of the INFO system will not be generated.
For example see the PmgObject.Items method.
pMe.Pm("/Panel").Items("/text0/#vars/Temperature") = 0