Pmg object | Relative or absolute path to the Pmg object or its implementation subobject (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 referenced by its name. The superior Pmg object is referenced by .. characters. The absolute path starts with the / character and describes the path to the Pmg object from 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 PmgObject 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". #vars - Enables the variables of the Pmg object.
The variable of the Pmg object can be reached by two ways: 1) From the Pmg object by the Vars method. For example
pMe.Items("/text0").Vars("Temperature").Value 2) By setting the path to the Pmg object extended by access to implementation object by #vars. For example pMe.Items("/text0/#vars/Temperature").Value
Note! The way of entering the path down to the specific variable of the Pmg object can be used in the PmgObject.Items method, in the "GP - Pmg object property" data binding and also in #pragma variable x = PmgObjectRef("path"). Macro expression can be used for input (it is evaluated while the window is opening). |
---|---|
Property | Property name of the Pmg object over which the data binding has to be created.
The button "..." (on the right) opens "Selection of the property or method of the object" configuration window. |
Dynamic property | Check only in special cases:
Check only if the EXPRESSION is written in the "Property" configurator (e.g. Trends(0).Color) and if the object (in this case the object Trends(0) referenced in the "Pmg object" configurator) can be removed and created dynamically in runtime. DON'T check, if only the name of elementary property is written in the property row, e.g. X, Visible, ColorText, etc. |