GML::NEXT - Move Cell Highlighting to Next Cell

Syntax

CALL "GML::NEXT"

Description

This procedure moves the highlighted cell in the main grid to the next grid cell. The new highlighted grid cell row and column values are placed into the GML_TPL$ template variables GML_TPL.ROW_N% and GML_TPL.COL_N%.

If no cell within the selected grid is highlighted, then the highlighted cell is set as the first cell in the grid. This procedure is valid only when applied to the main grid (GML_TPL.MEMBER%=1).

Options

The NEXT procedure normally moves the highlighted cell to the next editable grid cell. Setting GML_TPL.OPTION% to a value of 1 will move the highlighted cell to the next editable or non editable cell.

Example

2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 CALL "GML::NEXT"

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures