SCROLL-TO-CURRENT-ROW( ) method

Scrolls a browse (if necessary) to bring the currently selected row into view. If the browse supports multiple selections, then SCROLL-TO-CURRENT-ROW( ) brings the most recently selected row into view.

Return type: LOGICAL

Applies to: BROWSE widget

Syntax

SCROLL-TO-CURRENT-ROW ( )

The position of the scrolled row is the first row in the browse viewport, unless the current row is already visible. In this case, the current row remains in the original position. If the row is successfully scrolled into view (or if the scroll is unnecessary), the method returns TRUE.