ZGrid

(Engine-Level Function)

Description: Draws a layered point grid in a window.
Returns: Nothing
Usage: Steady State only.
Function Groups: Graphics
Related to: Grid
Format: ZGrid(Left, Bottom, Right, Top, Color, XSpace, YSpace)
Parameters:  
Left  
Required. Any numeric expression for the left side coordinate of the grid.
Bottom  
Required. Any numeric expression for the bottom side coordinate of the grid.
Right  
Required. Any numeric expression for the right side coordinate of the grid.
Top  
Required. Any numeric expression for the top side coordinate of the grid.
Color  
Required. May be any of the following:
XSpace  
Required. Any numeric expression giving a positive integer value for the spacing of the x-grid.
YSpace  
Required. Any numeric expression giving a positive integer value for the spacing of the y-grid.
Comments: Although this is a layered graphic, it cannot be edited using the Idea Studio. It is for use within text mode editing only.

Example:

ZGrid(100, 200, 200, 100 { Bounding box for grid },
      12 { Grid is light red }, 
      5, 5 { X and Y spacing for grid }); 

This places a light red 5x5 point-grid on the screen in the area bounded by the first four parameters.