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

ScrollHorizontal – PB Docs 2022 – PowerBuilder Library

ScrollHorizontal – PB Docs 2022

ScrollHorizontal

event (DataWindows)

Description

Occurs when user scrolls left or right in the DataWindow with the
tab or arrow keys or the scroll bar.

PowerBuilder event
information

Event ID: pbm_dwnhscroll

Argument

Description

scrollpos

Long by value. The distance in PowerBuilder units of
the scroll box from the left end of the scroll bar (if the
DataWindow is split, in the pane being scrolled).

pane

Integer by value. The number of the pane being
scrolled. (When the DataWindow is split with two scroll bars,
there are two panes.) Values are:

  • 1 — The left pane (if the scroll bar is not split,
    the only pane).

  • 2 — The right pane.

Return Values

There are no special outcomes for this event. The only code
is:

0 — Continue processing

Examples

This example displays the customer ID of the current row (the
cust_id column) in a SingleLineEdit control when the pane being scrolled
is pane 1 and the position is greater than 100:

See also

ScrollVertical


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