GML::CLEAR - Clear Main Grid Cells and Redraw Grid

Syntax

CALL "GML::CLEAR"

Description

This procedure clears the contents of the main grid cells and redraws the grid control. It is valid only when applied to the main grid (GML_TPL.MEMBER%=1).

Options

The CLEAR procedure normally redraws the grid. Setting GML_TPL.DEF_FLAG% to a value of 1 will prevent the procedure from performing the redraw operation.

Setting GML_TPL.OPTION% to 1 prior to executing the CLEAR procedure will clear the cells of all members of the grid set.

Example

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

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures