Promotic

X - property of the PmgObject object

Description:
X-coordinate of the left upper corner of the Pmg object relative to superior Pmg object.
Syntax:
Long X
Note:
Property access for read and write. The default value of this property is defined in the "X" configurator of this object.
 
X=0, Y=0 represents the left upper corner of the parent Pmg object.

This property is also functional in Web panels.
See also:
- PmgObject.Dx (property)
- PmgObject.Y (property)
- PmgObject.IniX (property)
- PmgObject.ScreenX (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");

var nX = oObject.X;   // Reading from the property
oObject.X = 200;   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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