If your window is larger than the default size, it is probable 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, PocketBuilder controls scrolling when scroll bars are present. You can set values for the size of the scrolling action when a user clicks on a scroll bar arrow.
Option |
Meaning |
---|---|
UnitsPerLine |
The number of PBUs 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), a scrolling action equals 1/100 the height of the window. The value you enter defines a logical line in the context of the current window. |
UnitsPerColumn |
The number of PBUs 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), a scrolling action equals 1/100 the width of the window. The value you enter defines a logical column in the context of the current window. |
ColumnsPerPage |
The number of columns to scroll when the user clicks the horizontal scroll bar itself. When the value is 0 (the default), a scrolling action equals 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), a scrolling action equals 10 lines. |
To specify window scrolling:
Click the window's background so that 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.
For horizontal scroll bars, specify scrolling options for the units per column and the columns per page. For vertical scroll bars, specify scrolling options for the units per line and the lines per page.