Promotic

ViewY - property of the PmgObject object

Description:
Position of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object.
Syntax:
Long ViewY
Note:
Property access for read only.
 
This property is also functional in Web panels.
Caution! The coordinates are in real rendered pixels (similar as PmgObject.ScreenX), that are affected by zoomem of the whole application see Application appearance zoom, not in coordinates of the development environment PmgObject.IniX.
See also:
- PmgObject.ViewX (property)
- PmgObject.Y (property)
- PmgObject.IniY (property)
- PmgObject.ScreenY (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");
var nViewY = oObject.ViewY;
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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