X - property of the PmaPanel object

X-coordinate of the left upper corner of the panel relative to the parent window (it depends on the panel type).
Independent: the position is relative to the screen.
Modal window: the position is relative to the screen.
Pmg object: the position is relative to the parent window (it corresponds to the position of the PmgFrame object).

This method/property/event is considered obsolete and is functional only if the "Level of integration of panel viewer and the local application" configurator is set to full - FULL access from scripts to the whole application (only for VBScript and if the "Enable multiple opening of local panel" configurator IS NOT SET.

Long X
Property access for read and write.
See also:
- PmaPanel.Y (property)
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
var nX = oPanel.X;  //Reading the value
oPanel.X = 200;  //Writing the value
PROMOTIC 9.0.15 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