Chapter Contents |
Previous |
Next |
Extended Table: _hscroll |
Syntax | |
Details | |
Examples |
Syntax |
CALL NOTIFY (extended-table-name, '_hscroll'<, in-unit><, in-num-units>); |
Argument | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
in-unit |
C | the scrolling unit:
|
||||||||
in-num-units |
N | the number of units to scroll. To scroll right, specify a positive number. To scroll left, specify a negative number. The default scroll amount is used if in-unit is not specified. See _setHscroll in this class. |
Details |
Because an extended table is not itself horizontally scrollable, you cannot place objects beyond the boundaries of the extended table's container box. The SCL program provides the scrolling functionality. When users scroll the table, the global variable _curcol is updated, based on the scroll amount, and contains the value of the leftmost column in the table. It is then up to the application to set values of objects correctly, based on the value of _curcol.
Examples |
This example scrolls TABLE four pages to the right:
call notify('table','_hscroll_','page',4);
This example scrolls TABLE eight columns to the left:
call notify('table','_hscroll_','column',-8);
This example scrolls TABLE all the way to the left:
call notify('table','_hscroll_','max',-1);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.