Example: Slide Format

Measurement Studio User Interface

Example: Slide Format

Shows how to save slide formats.

Description

This example demonstrates the versatility of the CWSlide control. The two horizontal slides at the bottom of the user interface show the counting properties of the slide. The top slide counts how much time you have been in runtime. The bottom slide simply counts a percentage, and when it reaches the maximum, it resets to the minimum. The two vertical slides at the top left part of the user interface demonstrate the tank and thermometer. You can change their value with the mouse. The horizontal slide beneath them also interacts with them. When you change the value of that slide, the values in the tank and thermometer change. The buttons to the right of the rightmost vertical slide control it. You can add and remove pointers with the Pointer controls. The Value Changed controls show which pointer is currently selected and its value. The Axis Control area allows you to set the minimum and maximum of the slide.

Example Location

Samples\UI\Slide\Slide Format