User Guide
ScrollPane component 673
Properties inherited from the UIObject class
The following table lists the properties the ScrollPane class inherits from the UIObject class.
When accessing these properties from the ScrollPane object, use the form
ScrollPaneInstance.propertyName.
ScrollPane.hPosition The horizontal pixel position of the scroll pane’s horizontal scroll
bar.
ScrollPane.hScrollPolicy The status of the horizontal scroll bar. It can be always on ("on"),
always off (
"off"), or on when needed ("auto"). The default value
is
"auto".
ScrollPane.scrollDrag Indicates whether scrolling occurs (true) or not (false) when a user
drags on content within the scroll pane. The default value is
false.
ScrollPane.vLineScrollSize The amount of content to scroll vertically when a scroll arrow
is clicked.
ScrollPane.vPageScrollSize The amount of content to scroll vertically when the scroll track is
clicked.
ScrollPane.vPosition The pixel position of the scroll pane’s vertical scroll bar.
ScrollPane.vScrollPolicy The status of the vertical scroll bar. It can be always on ("on"),
always off (
"off"), or on when needed ("auto"). The default value
is
"auto".
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the right
edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its parent.
Read-only.
UIObject.visible A Boolean value indicating whether the object is visible (true) or
not (
false).
UIObject.width The width of the object, in pixels. Read-only.
UIObject.x The left edge of the object, in pixels. Read-only.
UIObject.y The top edge of the object, in pixels. Read-only.
Method Description