Chapter Contents

Previous

Next
Scroll Bar: _setInc

Scroll Bar: _setInc



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


Syntax
Details
Example

Syntax

CALL NOTIFY (scroll-bar-name, '_setInc', increment);

Argument Type Description
increment
N specifies the size of the scroll bar's increments


Details

Only data points that are multiples of the increment away from the minimum value are returned by the scroll bar.

The increment value defines the amount of data that is automatically scrolled through when users click the arrows at the ends of the scroll bar.


Example

The following example uses a scroll bar to obtain data points within the range of -2.20 to +2.20 in increments of 0.10.

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

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


Chapter Contents

Previous

Next

Top of Page

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