GridCellGroup.SetBackgroundColorRules(StringArray, Array) Method

Top 

Description

Applies the matchValues string array and the matchColors array as rules so that whenever the value of any cell in this GridCellGroup matches one of the matchValues array values, the corresponding matchColor is applied to the background of that cell. The size of the matchColors array must match the size of the matchValues string array.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

GridCellGroup.SetBackgroundColorRules(

StringArray matchValues,


Array rangeColors)

 

 

Arguments

matchValues


Description:

The string values to compare against for the applied rules.

 

 

rangeColors


Description:

The colors to apply when between threshold values.

 

 

 

Syntax

myGridCellGroup1.SetBackgroundColorRules(myStringArray1, myArray1);

 

 

See also

GridCellGroup Object

GridCellGroup.SetBackgroundColorRules

GridWindow Guide