Important: The information in this document is obsolete and should not be used for new development.
LScroll
You can use theLScroll
procedure to scroll a list a specified number of rows and columns.
PROCEDURE LScroll (dCols: Integer; dRows: Integer; lHandle: ListHandle);
dCols
- The number of columns to scroll. Specify a positive number to scroll down (that is, each cell moves up), and a negative number to scroll up.
dRows
- The number of rows to scroll. Specify a positive number to scroll right (that is, each cell moves left), and a negative number to scroll left.
lHandle
- The list to be scrolled.
DESCRIPTION
TheLScroll
procedure scrolls the list specified by thelHandle
procedure the number of columns and rows specified bydCols
anddRows
. The List Manager will not scroll beyond the data bounds of the list.If the automatic drawing mode is enabled,
LScroll
does all necessary updating of the list.SPECIAL CONSIDERATIONS
You should not call the LScroll procedure from within an interrupt, such as in a completion routine or VBL task.
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLScroll
procedure are
Trap macro Selector _Pack0 $0050