Example: Simple Slide

Measurement Studio User Interface

Example: Simple Slide

Demonstrates several types of CWSlide controls.

Description

This example shows how highly configurable the CWSlide is. Eight different slides are on the user interface. The three vertical slides above the three text boxes correspond to the leftmost vertical slide. As you move the pointers on the leftmost slide, the corresponding slide fills to that value, and the value is displayed in the text box. The two vertical slides on the right demonstrate the thermometer and tank types. They simply fill and empty during runtime. The two horizontal slides on the bottom correspond with each other. As you move the pointer, the pink slide above it will empty the same amount that you have moved the slide. The value of the pointer is also displayed in a text box.

To begin this example, you can change the pointers on the leftmost vertical slide and watch the corresponding slides react to the changes. You can also move the pointer of the horizontal slide.

Example Location

Samples\UI\Slide\Simple Slide