GML::CURRENT - Retrieve Row and Column Number of Highlighted Cell

Syntax

CALL "GML::CURRENT"

Description

This procedure retrieves the current row and column number of the highlighted cell in the main grid. The retrieved variables are placed into the GML_TPL$ template variables GML_TPL.ROW_N% and GML_TPL.COL_N%

A GML_TPL.ROW_N% value of –1 indicates no cell within the selected grid is highlighted.

This procedure is valid only when applied to the main grid (GML_TPL.MEMBER%=1).

Example

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

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures