GML::REFRESH - Refresh Grid

Syntax

CALL "GML::REFRESH"

Description

This procedure redraws the grid control with current contents and attributes, moves the selected cell to the first row and column, then deselects the cell. This procedure is valid only when applied to the main grid (GML_TPL.MEMBER%=1).

Options

Setting GML_TPL.OPTION% to 1 prior to executing the REFRESH procedure will cause the grid to be redrawn, but the currently selected cell will not be changed nor will it be deselected.

2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.OPTION%=1
2430 CALL "GML::REFRESH"

Example

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

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures