Visual PRO/5 Grid Management Library

The Grid Management Library (GML) provides a comprehensive method of Grid control management in a VPRO/5 environment. Management refers to the process of updating Grid attributes and text information while administering Grid events.

The GML contains a library of programs and associated routines that allow a developer to create code that interfaces with the Grid through the use of a "command like" set of instructions referred to as Procedures. When procedures are executed within the GML programs they are expanded in a manner similar to executing macro instructions.

A GML template is used to interface between the Grid and the developer code. When executing GML procedures the GML template is used to interface with the Grid on a cell by cell basis while allowing the developer to work with the Grid on a row by row basis, with column (cell) information contained within the template.

In effect, the Grid Management Library creates a layer between the instructions coded by a developer and the instructions actually required to accomplish the selected task.

In the VPRO/5 environment Grids may contain up to three controls. The GML groups the three controls into grid sets with the individual controls referred to as members. A set always contains a Main grid (member one), and may also contain a Column Header (member two) and/or Row Header (member three).

The GML consists of three public (called) programs with specific functions as follows:

GML_I

Initializes the GML variables. It is called during program startup.

GML_M

Administers Notify Events associated with object type 107 (grid control).

GML

Provides the interface between the developer and Grid control(s) through the use of the GML template and associated GML procedures