GML::SET_DEFAULT - Set Column Default Attributes

Syntax

CALL "GML::SET_DEFAULT"

Description

This procedure sets the column default attributes of the main grid cells, or the column default attributes and column text for the column header grid.. This procedure is valid only when applied to the main grid or column header control GML_TPL.MEMBER%=1 or GML_TPL.MEMBER%=2 and is used to set the default attributes; the RESET procedure is used to reset all grid cells to the default settings, clear, and redraw the grid after execution of the SET_DEFAULT procedure.

Example

The background color and text alignment default settings for column 1 in the main grid in grid set 2 are changed by use of the SET_DEFAULT procedure. The grid is then redrawn by use of the RESET procedure.

2400 GML.SET%=2
2410 CALL "GML::TPL_PREP"
2420 GML_TPL.B_COLOR$[1]=GML.LTGRAY$
2430 GML_TPL.ALIGN%[1]=0
2440 CALL "GML::SET_DEFAULT"
2450 CALL "GML::TPL_PREP"
2460 CALL "GML::RESET"

See Also

Visual PRO/5 Grid Management Library

Alphabetical Listing of GML Procedures