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 ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.