Chapter Contents

Previous

Next
Slider: _setValue

Slider: _setValue



Assigns a value (thumb position) to a slider

Inherited from Widget


Syntax
Details

Syntax

CALL NOTIFY (slider-name, '_setValue', slider-value);

Argument Type Description
slider-value
N specifies the value (thumb position) to assign to the slider


Details

The _setValue method assigns only values that fall on or between the slider's minimum and maximum values. If a value is greater than the slider's maximum value, the _setValue method assigns the maximum value. However, if the value is set directly (via the SCL variable), the value is not adjusted to the slider's range until the FRAME entry is refreshed.

For an example using the _setValue method, see the Scroll Bar class.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.