ScreenX - property of the PmgObject object
Description:
X-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 nScreenX = oObject.ScreenX;
Dim oObject
Set oObject = pMe.Items("/Txt0")
Dim nScreenX
nScreenX = oObject.ScreenX