Carbon


Cell

Header: Lists.h

typedef Point Cell;

The Cell data type defines a cell record. The functions LGetSelect, LSetSelect, LSetCell, LAddToCell, LClrCell, LGetCellDataLocation, LGetCell, LDraw, LSearch, LNextCell, LRect, and LLastClick use the Cell data type to specify the coordinates of a cell in a list.

Note that column and row numbers are 0-based. Also note that this reference designates cells using the notation (column–1, row–1), so that a cell with coordinates (2,5) is in the third column and sixth row of a list. You specify a cell with coordinates (2,5) by setting the cell’s h field to 2 and its v field to 5.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)