Promotic

X - property of the PmaPanel object

Description:
X-coordinate of the left upper corner of the panel relative to the parent window (it depends on the panel type).
Independent window: 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 the 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.
Syntax:
Long X
Note:
Property access for read and write.
See also:
- PmaPanel.Y (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

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