Reference Guide > W Routines > WoColorGridSetValue Procedure
  

WoColorGridSetValue Procedure
Sets the color indices for a range of colors in the color grid.
Usage
WoColorGridSetValue, wid, index, color
Input Parameters
wid — Specifies the widget ID returned by WoColorGrid (long).
index — The first color index in the range of colors to be set.
colors — An array of color table values from the currently active color model. The array structure must be one of the following:
*A 3-element array if a single color is being set.
*A 2D array of size 3-by-n, where n is the number of color values to set.
Keywords
None.
Example
See the example for WoColorGrid Function.
See Also
WoColorGrid, WoColorGridGetValue

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.