This new release is smaller than usual but does contain a new Toolkit control called the KryptonTrackBar. It acts like the standard windows version allowing the user to drag a position indicator along a track. It also has the ability to draw the track as a triangle and so giving the appearance of a volume control. Always provided are a number of bug fixes and more minor additions.

Please download using the following direct link…

Download 4.2

Thanks to Serge Wautier for the idea of allowing the track bar to be a volumn control. I have added a VolumeControl property that is a simple boolean. When defined it just makes the track a big bigger and draws it as a wedge instead of a rectangle. A trivial change to the control but maybe it will be useful to a few developers that need such a control.

As the last addition for the new KryptonTrackBar it has now been made available as a group element inside the KryptonRibbon tabs. By default it does not draw the background as you will most likely want the ribbon background to show through. It works in vertical or horizontal orientation and by modifying the TrackBarSize between Small, Medium and Large options you can get the appearance to look appropriate for your ribbon group.

The KryptonTrackBar is now completed. 

It has a TrackBarSize enumeration property with three values of Small, Medium and Large. You can see the difference in sizing in the above image that shows them in size order. It has all the same properties as the standard windows control and so you can specify the tick marks to be below, above, both or none as needed. Above you can see the first three of those options displayed.

Altering the Orientation to vertical gives the following…

The above is drawn for the Professional System palette under Windows 7. The first image was using the Office 2010 Blue palette.

In the following image there is a standard windows TrackBar and two KryptonTrackBar instances. Can you spot which is which?

As you can tell the control is not quite finished as yet. The control is fully working allowing you to use the mouse to move the marker, use the keyboard and even responds to the mouse wheel. Now I just need to hook it into the rendering engine and add some code to actually draw appropriately.