NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TrackBar.SetRange

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
);

Parameters

minValue
The lower limit of the TrackBars range.
maxValue
The upper limit of the TrackBars range.

See Also

TrackBar Class | TrackBar Members | System.WinForms Namespace