Method XbpBrowse():down() Foundation

Moves the browse cursor down one line.

Syntax
:down( [<nRows>] ) --> self
Parameters
<nRows>
<nRows> is a numeric value which specifies the number of lines the browse cursor is moved. This parameter is optional and defaults to 1.
Return

:down() returns a reference to the XbpBrowse object.

Description

:down() moves the browse cursor to the next data row in the browse window. If the cursor is already in the last data row (the row equivalent to the position held in :rowCount), the data area of the browse window is scrolled one line up and a new value for the last data row is read from the data source. If the record pointer is already at the end of the data source, the browse window remains unchanged and the XbpBrowse object evaluates the code block assigned to the instance variable :hitBottomBlock.

The changes applied by the :down() method will not be visible until the browse is stabilized. Use :forceStable() to make the changes become visible immediately.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.