Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 4 - List Manager / List Manager Reference
List Manager Routines / Modifying a List's Appearance


LScroll

You can use the LScroll 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
The LScroll procedure scrolls the list specified by the lHandle procedure the number of columns and rows specified by dCols and dRows. 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 the LScroll procedure are
Trap macroSelector
_Pack0$0050


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996