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.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.