Promotic

ScrollY - property of the PmaPanel object

Description:
The Y-coordinate of the left upper corner of the self panel content displayed in the panel window. A scroll of the panel content in the panel window is meaningful if the panel is greater than the window where the panel is viewed. Then the content can be moved by scrollbars.
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.
Instead of of this property it is better to use the PmgRoot.ViewerScrollY property.
Syntax:
Long ScrollY
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oPanel = pMe.Pm("/Panel");
var nScrollY = oPanel.ScrollY;   // Reading from the property
oPanel.ScrollY = 400;   // Writing into the property
PROMOTIC 9.0.22 SCADA system documentation - MICROSYS, spol. s r.o.

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