GML::FOCUS - Set Keyboard Focus to Specific Cell

Syntax

CALL "GML::FOCUS"

Description

This procedure sets keyboard focus to a specific cell in the main grid. Moves the highlighted cell in the main grid to the grid cell row and column based on the values contained in GML_TPL$ template variables GML_TPL.ROW_N% and GML_TPL.COL_N%. 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 GML_TPL.ROW_N%=24
2430 GML_TPL.COL_N%=4
2440 CALL "GML::FOCUS"

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures