Example: Simple Button
Demonstrates button styles.
Description
This example shows how highly configurable the CWButton is. Seventeen different buttons exist on the user interface. On the left side of the page, all of the buttons except for the floating donut and the lightening buttons change between their true and false modes randomly. Some of the buttons blink, and others are toggled. These buttons can be selected through the property pages. The remaining two buttons on the left side show how you can make customized bitmaps into a button. The toggles on the right side of the user interface control the LEDs underneath them. The Off and OK buttons control the LEDs below them. The Off button demonstrates a button that stays in the position that you place it in, while the OK button pops back up after you let go of the button.
You can interact with any of the buttons on the right side of the user interface. The buttons on the left side turn from true to false randomly, and the buttons with the customized bitmaps do not do anything. Press the Quit button to exit the example.
Example Location
Samples\UI\Button\Simple Button