The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



SetRange


Unit:SDL_scale
Class:TScale
Declaration:procedure SetRange (LowVal, HighVal: double);

The method SetRange sets the range of the scale. The parameters LowVal and HighVal specify the lowest and the highest values of the scale.

Hint: Please note that SetRange does not allow to set both LowVal and HighVal to the same values. In this case HighVal is set automatically to LowVal + 1.



Last Update: 2023-Dec-13