Chapter Contents

Previous

Next
Slider: _setInc

Slider: _setInc



Assigns the number by which the values in the slider's range are incremented


Syntax
Details
Example

Syntax

CALL NOTIFY (slider-name, '_setInc', increment);

Argument Type Description
increment
N specifies the size of the slider's intervals


Details

Only data points that are multiples of the increment away from the minimum value will be returned by the slider.


Example

The following example uses a slider to obtain data points within the range of -2.20 to +2.20 in increments of 0.10:

INIT:
   call notify('slider1', '_set_min_', -2.20);
   call notify('slider1', '_set_max_', 2.20);
   call notify('slider1', '_set_inc_', 0.10);
   slider1 = 0;
   svalue=slider1;
return;

MAIN:
      /* The numeric text entry field named 
         SVALUE */
      /* shows the numeric value of the 
         slider.    */
   svalue=slider1;
return;


Chapter Contents

Previous

Next

Top of Page

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