| Home | Previous Lesson: User Object Next Lesson: Horizontal and Vertical Trackbars |
Typically use of Scrollbars is to display percentage. Some examples to display the amount of work completed, or the percentage selected. You might be seeing the scrollbars at the bottom of a window (say MS-Word) or at the right hand side of the window.
However there is a difference between scrollbars under Windows 3.11/NT 3.51 and Windows 95/NT 4.0. The H/Vscrollbar controls available in PowerBuilder belong to the first category, even if you use PowerBuilder under Windows 95/NT 4.0.
The indicator in the Scrollbar in the first category represents the cursor position in terms of the percentage of the whole content.
The indicator in the Scrollbar in the second category not only indicates the current cursor position in terms of the percentage of the whole content, but it also indicates the percentage of the content that is being displayed on the screen.
In real life projects usage of Scrollbars is less than one percent, since most of it is accomplished by a DataWindow control.
| Home | Previous Lesson: User Object Next Lesson: Horizontal and Vertical Trackbars |