Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
Using the Scroll Bar class, you can create objects associated with a scrollable area indicating that more information is available in a particular direction. Scroll bars enable users to move back and forth through lists, text, or a range of data values.
To move through a list or text with the scroll bars, users move the thumb, the rectangle between the two arrows. The thumb can be moved by
As users move the thumb, the value returned by the scroll bar changes based on the thumb's position. Clicking on either side of the thumb moves one page size in the appropriate direction. Clicking on the arrows at the ends of the scroll bar moves the thumb one increment in the appropriate direction. The maximum value is visually represented on the scroll bar with the thumb in the far right position for a horizontal scroll bar and with the thumb on the bottom for a vertical scroll bar. The minimum value is visually represented on the scroll bar with the thumb in the far left position for a horizontal scroll bar and with the thumb on the top for a vertical scroll bar. A scroll bar is vertical if you size it so that the vertical dimension is longer than the horizontal dimension; it is horizontal if you size it so that the horizontal dimension is longer than the vertical dimension.
Use a scroll bar in your applications when all the information is not fully visible within a window in a particular direction or when the information in a window can grow beyond the window's borders. For example, provide scroll bars for an application in which a text object can grow as the user works with it.
PARENT: SASHELP.FSP.WIDGET.CLASS
CLASS: sashelp.fsp.ScrllBar.class
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.