Reference Guide > W Routines > WoColorButtonGetValue Function
  

WoColorButtonGetValue Function
Gets the currently selected color index from a color button created by WoColorButton.
Usage
color = WoColorButtonGetValue(wid)
Input Parameters
wid — Specifies the widget ID returned by WoColorButton (long).
Returned Value
color — The currently selected color index (integer).
Keywords
None.
Example
See the example given for WoColorButton Function.
See Also
WoColorButton, WoColorButtonSetValue

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