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

UnitsPerLine – PB Docs 2019 – PowerBuilder Library

UnitsPerLine – PB Docs 2019

UnitsPerLine

property for PowerScript controls

Applies to

Windows, user objects

Description

UnitsPerLine specifies the number of PowerBuilder units you want to
scroll up or down when the user clicks the up or down arrow in the
vertical scroll bar in a window or user object. The default is 0 (1/100 of
the window or user object height). When UnitsPerLine is 0, PowerBuilder
controls vertical scrolling automatically.

PowerBuilder multiplies UnitsPerPage by UnitsPerLine to determine
the number of PowerBuilder units to scroll the window or user object
vertically when the user clicks in the scroll bar.

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

Usage note

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

Usage

In a painter

To set the UnitsPerLine property:

  • Enter the desired number of PowerBuilder units in the
    UnitsPerLine field on the Scroll tab page of the window’s Properties
    view.

In scripts

The UnitsPerLine property takes an integer value.

The following statement sets UnitsPerLine to 17, which is
appropriate for a content length of 2400:


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