GridCell.SetBackgroundColorRules(Array, Array) Method

Top 

Description

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.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

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

 

Method Signature

GridCell.SetBackgroundColorRules(

Array rangeThresholds,


Array rangeColors)

 

 

Arguments

rangeThresholds


Description:

The thresholds for the applied rules.

 

 

rangeColors


Description:

The colors to apply when between threshold values.

 

 

 

Syntax

myGridCell1.SetBackgroundColorRules(myArray1, myArray2);

 

 

See also

GridCell Object

GridCell.SetBackgroundColorRules

GridWindow Guide