class ScrollBar
A vertical or horizontal scrollbar used to represent a range of numeric values.
Syntax
[<oRef> =] new ScrollBar(<container> [,<name expC>])
<oRef>
A variable or property—typically of <container>—in which to store a reference to the newly created ScrollBar object.
<container>
The container—typically a Form object—to which you’re binding the ScrollBar object.
<name expC>
An optional name for the ScrollBar object. If not specified, the ScrollBar class will auto-generate a name for the object.
Properties
The following tables list the properties and events of interest in the ScrollBar class. (No particular methods are associated with this class.)
Property |
Default |
Description |
SCROLLBAR (SCROLLBAR) |
Identifies the object as an instance of the ScrollBar class Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName | |
ScrollBar |
The color of the scrollbar | |
|
The Field object that is linked to the ScrollBar object | |
|
The maximum value | |
|
The minimum value | |
|
The current value | |
true |
Whether the scrollbar is vertical or horizontal
| |
Event |
Parameters |
Description |
|
After the scrollbar value changes
|
The following table lists the common properties, events, and methods of the ScrollBar class:
Description
The ScrollBar object is maintained primarily for compatibility. Use a Slider instead.