Reference Guide > W Routines > WoColorButtonSetValue Function
  

WoColorButtonSetValue Function
Sets the current color index for a color button created by WoColorButton, and updates the color button’s color pixmap.
Usage
color = WoColorButtonSetValue(wid, color)
Input Parameters
wid — Specifies the widget ID returned by WoColorButton (long).
color — Specifies the new color index (integer).
Keywords
None.
Example
See the example given for WoColorButton Function.
See Also
WoColorButton,   WoColorButtonGetValue

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.