O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the TrackBar Control

The TrackBar control is a special slider control that allows the user to select a numeric value by changing the position of the slider. The TrackBar is controlled mainly by three properties: Minimum, Maximum, and Value. Given our earlier discussions, these values are self-explanatory.

The TrackBar exposes a few additional properties that control the appearance and behavior of the TrackBar. The Orientation property determines whether the TrackBar is oriented on the horizontal or vertical axis. The TickFrequency property defines the distance between the tick marks along the slider. By default the TickFrequency is set to one. The SmallChange and LargeChange properties define increment values. SmallChange defines how much ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required