Specifying window scrolling
If your window is resizable, it is possible that not all the
window’s contents will be visible during execution. In such cases,
you should make the window scrollable by providing vertical and
horizontal scroll bars. You do this on the Scroll property
page.
By default, PowerBuilder controls scrolling when scroll bars
are present. You can control the amount of scrolling.
To specify window scrolling
-
Click the window’s background so the Properties view
displays window properties. -
Select the Scroll tab.
-
Indicate which scroll bars you want to display by
selecting the HScrollBar and VScrollBar check boxes. -
Specify scrolling characteristics as follows:
Option
Meaning
UnitsPerLine
The number of PowerBuilder units to scroll
up or down when the user clicks the up or down arrow in
the vertical scroll bar. When the value is 0 (the
default), it scrolls 1/100 the height of the
window.UnitsPerColumn
The number of PowerBuilder units to scroll
right or left when the user clicks the right or left
arrow in the horizontal scroll bar. When the value is 0
(the default), it scrolls 1/100 the width of the
window.ColumnsPerPage
The number of columns to scroll when the
user clicks the horizontal scroll bar itself. When the
value is 0 (the default), it scrolls 10
columns.LinesPerPage
The number of lines to scroll when the user
clicks the vertical scroll bar itself. When the value is
0 (the default), it scrolls 10 lines.