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 applied, the associated color is applied to the text in that cell.
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.
Overload List
Signatures
|
Return Value
|
Description
|
GridCell.SetTextColorRules(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 text in that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array. The cell's text color will default to GridCell.TextColor in the case where there are no matches.
|
GridCell.SetTextColorRules(StringArray matchValues, Array rangeColors)
|
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 text in that cell. The size of the matchColors array must match the size of the matchValues string array. The cell's text color will default to GridCell.TextColor in the case where there are no matches.
|
GridCell.SetTextColorRules(TimeSpanArray 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 text in that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array. The cell's text color will default to GridCell.TextColor in the case where there are no matches.
|
See also
GridCell Object
GridWindow Guide
|