ScreenY - property of the PmgObject object
Description:
Y-coordinate of the left upper corner of the Pmg object relative to computer screen.
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
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oObject = pMe.Items("/Txt0");
var nScreenY = oObject.ScreenY;
Dim oObject
Set oObject = pMe.Items("/Txt0")
Dim nScreenY
nScreenY = oObject.ScreenY