GridCell.SetBackgroundColorRules Method

Top 

Description

Applies an array of colors and thresholds or match values as rules so that whenever the value of the cell matches the condition set forth by the specific type of rule applies, the associated color is applied to the background of that cell.

 

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.

 

Overload List

Signatures

Return Value

Description

GridCell.SetBackgroundColorRules(Array rangeThresholds, Array rangeColors)

None

Applies the array of rangeThresholds and rangeColors as rules so that whenever the value of the cell is between two threshold values, the color corresponding to that range is applied to the background of that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array. The cell's background color will default to GridCell.BackgroundColor in the case where there are no matches.

GridCell.SetBackgroundColorRules(StringArray rangeColors, Array matchColors)

None

Applies the matchValues string array and the matchColors array as rules so that whenever the value of the cell 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. The cell's background color will default to GridCell.BackgroundColor in the case where there are no matches.

 

 

See also

GridCell Object

GridWindow Guide