Promotic

ScreenY - property of the PmgObject object

Description:
Y-coordinate of the left upper corner of the Pmg object relative to computer screen.
Syntax:
Long ScreenY
Note:
Property access for read only.
 
ScreenX=0, ScreenY=0 means the left upper corner of the screen.
Because positions of windows are defined in screen coordinates, this property can be useful for the determination of the window position.

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

var oObject = pMe.Items("/Txt0");
var nScreenY = oObject.ScreenY;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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