Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ScreenX - property of the PmgObject object

Description:
X-coordinate of the upper-left corner of the Pmg object relative to computer screen.
Syntax:
Long ScreenX
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 windows position.

 
This property is not functional in Web panels
See also:
- PmgObject.ScreenY (property)
- PmgObject.X (property)
- PmgObject.Dx (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oItem = pMe.Items("/Txt0");
var nScreenX = oItem.ScreenX;
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice