[Contents] [Index] [Next] [Previous]

ScrollBar


Description

A ScrollBar should be used to scroll the visible area of another component. A ScrollBar should be composed of a slider, moving within an element that indicates the full size of the scrolled component, and two buttons with arrow graphics for moving the slider. The slider indicates the relative position and size of the visible area of the scrolled component.

Illustration

Other Operations

The following text describes the operations of this component:

BSelect Press
In an arrow button, this action must move the slider one increment in the direction of the side of the slider on which the button was pressed, and autorepeat until the button is released.

In the trough, this action must move the slider one page in the direction of the side of the slider on which the trough was pressed, and autorepeat until the button is released. It can stop when the slider reaches the position of the pointer.

BSelect Motion
If the button is pressed in the slider, must cause the slider to track the position of the pointer. In a vertical ScrollBar, the slider must track the vertical position of the pointer. In a horizontal ScrollBar, the slider must track the horizontal position of the pointer.
BSelect Press
In the slider trough or an arrow button, this action should move the slider to the end of the ScrollBar on which the button was pressed.
BSelect Press
Can scroll the view so that the cursor within that view is positioned at the edge of the view region on the side of the ScrollBar on which the button was pressed.
BTransfer Press
In the trough, this action can directly position the slider to the position of the button press.
BTransfer Motion
If the button is pressed in the slider or the trough, must directly position the slider to the point of the button press and then cause the slider to track the position of the pointer. In a vertical ScrollBar, the slider must track the vertical position of the pointer. In a horizontal ScrollBar, the slider must track the horizontal position of the pointer.
If a mouse-based scrolling action is in progress, must cancel the scrolling action and return the slider to its position prior to the start of the scrolling operation.
For vertical ScrollBars, this action must move the slider one increment down.
For vertical ScrollBars, this action must move the slider one increment up.
For horizontal ScrollBars, this action must move the slider one increment left.
For horizontal ScrollBars, this action must move the slider one increment right.
For vertical ScrollBars, this action must move the slider one large increment down.
For vertical ScrollBars, this action must move the slider one large increment up.
For horizontal ScrollBars, this action must move the slider one large increment left.
For horizontal ScrollBars, this action must move the slider one large increment right.
For vertical ScrollBars, this action must move the slider one page down.
For vertical ScrollBars, this action must move the slider one page up.
<PageLeft> or
For horizontal ScrollBars, this action must move the slider one page left.
<PageRight> or
For horizontal ScrollBars, this action must move the slider one page right.
or
Must move the slider to the minimum value.
or
Must move the slider to the maximum value.
Must provide any available help for the ScrollBar.