Copyright 2008 by gINT Software. All rights reserved worldwide.
GR018.TXT
gINT Rules Code Samples - 018
Requires gINT version 8.2 or later. gINT Logs cannot run gINT Rules but can access the code or the Add-Ins manager. gINT Logs Plus and gINT Professional have full access to both.
NOTE: Code samples are provided free of charge and as-is. gINT Software makes no claim or warranty as to the accuracy of the samples. It is the responsibility of the user to ensure that the code performs as it should. Comments, suggestions, and error reports are appreciated.
Description
===========
Illustrates the use of the "gINT Rules Procedure After Updating Grid" and the gINTRules.GridData.CellColor property. The program reads criteria from the POINT table for coloring cells in the COLORS table.
Field 1 - 3 Max: If Field 1 to Field 3 exceed the values in these POINT fields, they the offending cells are colored green.
Bedrock Depth: All rows at this depth or greater are colored red.
Field 2 Color: If this has a value, the Field 2 column is set with this color.
If there is overlap of colors in a cell, cell color wins over row color which wins over column color.
Revision History
================
10Sep2008:
Initial public upload
*************************************************
INCLUDED FILES:
GR018.GLB:
gINT Rules code modules:
GR018: Main
ColorsSave
GR018 COMMON PROCEDURES: InitFieldsFnB
RecordsetClose
*************************************************
INSTALLATION PROCEDURE:
Copy the files wherever you wish. To see the gINT Rules Add-In and code module you must either merge the GLB into your library (Utilities:Lib Merge/Copy) or change to the included library (File:Change Library).
*************************************************
SPECIAL NOTES:
See the DESCRIPTION section above for detailed usage instructions.
*************************************************