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

LinesPerPage – PB Docs 2019 – PowerBuilder Library

LinesPerPage – PB Docs 2019

LinesPerPage

property for PowerScript controls

Applies to

User objects and windows

Description

The LinesPerPage property determines the number of lines on a page
for scrolling purposes. PowerBuilder multiplies Units Per Line by Lines
Per Page to determine the number of PowerBuilder units to scroll the
window vertically when the user clicks in the scroll bar.

For information on calculating LinesPerPage and UnitsPerLine, see
Scrolling in windows and user
objects
.

To control the horizontal scroll bar in a window or user object, use
the UnitsPerColumn and ColumnsPerPage properties.

Usage

In a painter

To set the LinesPerPage property:

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

In scripts

The LinesPerPage property takes an integer value between 1 and 100.
The following line sets LinesPerPage 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