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


LAutoScroll

You can use the LAutoScroll procedure to make the first selected cell visible.

PROCEDURE LAutoScroll (lHandle: ListHandle);
lHandle
The list to be scrolled.
DESCRIPTION
The LAutoScroll procedure scrolls the list specified by the lHandle parameter so that the first selected cell is in the upper-left corner of the list's visible rectangle.

SPECIAL CONSIDERATIONS
You should not call the LAutoScroll 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 LAutoScroll procedure are
Trap macroSelector
_Pack0$0010


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996