ColumnsPerPage – PB Docs 150

ColumnsPerPage property for PowerScript controls

Controls

Windows and user objects

Description

The ColumnsPerPage property determines the number of columns
on a page for scrolling purposes. The default is 0 (10 columns per
page). PowerBuilder multiplies UnitsPerColumn by ColumnsPerPage
to determine the number of PowerBuilder units to scroll the window
horizontally when the user clicks in the scroll bar.

For information on calculating ColumnsPerPage and UnitsPerColumn,
see “Scrolling in windows and
user objects”
.

note.png Usage note

To control the vertical scroll bar in a window or user object,
use the UnitsPerLine and LinesPerPage properties.

Usage

In a painter

proc.png To set the ColumnsPerPage property:

  1. Enter the desired number (between 1 and
    100) in the ColumnsPerPage option on the Scroll tab page of the
    window’s Properties view.

In scripts

The ColumnsPerPage property takes an integer value between
1 and 100. The following line sets ColumnsPerPage for a window to
20:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x