Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ColumnsPerPage – PB Docs 2021 – PowerBuilder Library

ColumnsPerPage – PB Docs 2021

ColumnsPerPage

property for PowerScript controls

Applies to

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
.

Usage note

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

Usage

In a painter

To set the ColumnsPerPage property:

  • 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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x