Promotic

Y - property of the PmaPanel object

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

var oPanel = pMe.Pm("/Panel");
var nY = oPanel.Y;   // Reading from the property
oPanel.Y = 200;   // Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.