GML::DELETE_ROW - Delete Grid Row

Syntax

CALL "GML::DELETE_ROW"

Description

This procedure deletes a row of data in the main grid of the selected grid set. Data in all cells are moved up a row to fill in the deleted row. The GML_TPL$ template variable GML_TPL.ROW_N% is used to designate which row of data to retrieve. 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 DELETE_ROW procedure normally redraws the grid. Setting GML_TPL.DEF_FLAG% to a value of 1 will prevent the procedure from performing the redraw operation

Example

Delete row 3 in the main grid of grid set 1.

2400 GML.SET%=1
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.ROW_N%=3
2430 CALL "GML::DELETE_ROW"

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures