Tuesday 14 February 2017

Slider Control

A Slider control consists of a scale, defined by the Min and Max properties, and a "thumb," which the end user can manipulate using the mouse or arrow keys. At run time, the Min and Max properties can be dynamically reset to reflect a new range of values. The Value property returns the current position of the thumb. Using events such as the MouseDown and MouseUp events, the Slider control can be used to graphically select a range of values.

Possible Uses

  • To set the value of a point on a graph.
  • To select a range of numbers to be passed into an array.
  • To resize a form, field, or other graphic object.
The Slider control consists of two parts: the thumb and the ticks, as shown below:


No comments:
Write comments