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

CurrentRow – PB Docs 2021 – PowerBuilder Library

CurrentRow – PB Docs 2021

CurrentRow

DataWindow expression function

Description

Reports the number of the current row (the row with focus).

Syntax

Return value

Long. Returns the number of the row if it succeeds and 0 if no row
is current.

What row is current

The current row is not always a row displayed on the screen. For
example, if the cursor is on row 7 column 2 and the user uses the scroll
bar to scroll to row 50, the current row remains row 7 unless the user
clicks row 50.

Examples

This expression in a computed field returns the number of the
current row:

This expression for a computed control displays an arrow bitmap as
an indicator for the row with focus and displays no bitmap for rows not
having focus. As the user moves from row to row, an arrow marks where the
user is:

Alternatively, this expression for the Visible property of an arrow
picture control makes the arrow bitmap visible for the row with focus and
invisible for rows not having focus. As the user moves from row to row, an
arrow marks where the user is:

See also

Example 3: creating a row
indicator

GetRow


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