Important: The information in this document is obsolete and should not be used for new development.
LCellSize
You can change the size of cells by using theLCellSize
procedure. All cells in a list must be the same size, however.
PROCEDURE LCellSize (cSize: Point; lHandle: ListHandle);
cSize
- The new size of each cell in the list.
lHandle
- The list whose cells' size is being changed.
DESCRIPTION
TheLCellSize
procedure sets thecellSize
field of the list record referenced by thelHandle
parameter to the value of thecSize
parameter. That is, the list's new cells will be of widthcSize.h
and of heightcSize.v
.The
LCellSize
procedure updates the list's visible rectangle to contain cells of the specified size. However,LCellSize
does not redraw any cells.SPECIAL CONSIDERATIONS
You should not call theLCellSize
procedure from within an interrupt, such as in a completion routine or VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLCellSize
procedure are
Trap macro Selector _Pack0 $0014