| [Overview][Classes][Index] | 
The unit contains a ColorWheel and ValueBar component
| uses | ||
| System, | ||
| Classes, | ||
| 
 | The base unit and starting point of fpGUI | |
| 
 | The main unit that ties everything together from CoreLib | |
| 
 | 
The unit contains a ColorWheel and ValueBar component.
Using the components:
Normally, you use both a color wheel and a value bar.
The two components are now linked together. When a selection is made in the color wheel the value bar will update to show the range for that selection.
Note: you won't see the colors in the UI Designer. Colors will only be displayed at runtime.
Reading and setting the color:
To set the color being displayed, use the TfpgColorWheel.SetSelectedColor method.
To read the color selected, read the TfpgValueBar.SelectedColor property.
If you want to know when the user picks a color, you can use the OnChange event in the ValueBar.