LinesPerPage – PB Docs 150

LinesPerPage property for PowerScript controls

Controls

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

proc.png To set the LinesPerPage property:

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