ScrollX - property of the PmaPanel object
Description:
The X-coordinate of the left upper corner of the self panel content displayed in the panel window. 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.ViewerScrollX property.
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oPanel = pMe.Pm("/Panel");
var nScrollX = oPanel.ScrollX;
// Reading from the property
oPanel.ScrollX = 400;
// Writing into the property
Dim oPanel
Set oPanel = pMe.Pm("/Panel")
Dim nScrollX
nScrollX = oPanel.ScrollX
' Reading from the property
oPanel.ScrollX = 400
' Writing into the property