Lets you set the the entire range for the TrackBar control at once. The values passed are both the lower and upper limits to the range with which the control will work.
[Visual Basic] Public Sub SetRange( _ ByVal minValue As Integer, _ ByVal maxValue As Integer _ ) [C#] public void SetRange( int minValue, int maxValue ); [C++] public: void SetRange( int minValue, int maxValue ); [JScript] public function SetRange( minValue : int, maxValue : int );
TrackBar Class | TrackBar Members | System.WinForms Namespace