Description
This property provides a scripting interface for the vertical scroll bar of the given window or control.
Declaration
TestObj.VScroll
Read-Only Property | A ScrollBar object |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following objects:
BrowserWindow, Java Swing ScrollPane, JavaFX ScrollPane and 4 more objects, SilverlightScrollViewer, Spark Scroller, Window, WPF ScrollViewer « Collapse the list
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
A ScrollBar
object that corresponds to the window’s or the control’s vertical scroll bar.
Remarks
If the window does not have a vertical scroll bar, the Max
, Min
and Pos
properties of the ScrollBar
object will return 0.
JavaFX ScrollPane: If the control does not have a scroll bar, the minimum position will be 0, the maximum position will be 1, and the current position could be changed to any value between the minimum and maximum.
Example
To view an example that demonstrates how to use the VScroll
property, see Calling Methods and Properties of "Internal" Objects.