Important: The information in this document is obsolete and should not be used for new development.
LLastClick
You can use theLLastClick
function to determine the coordinates of the last cell clicked in a particular list.
FUNCTION LLastClick (lHandle: ListHandle): Cell;
lHandle
- The list to be checked for the last cell clicked.
DESCRIPTION
TheLLastClick
function returns the cell coordinates of the last cell clicked. If the user has not clicked a cell since the creation of the list, then both theh
andv
fields of the cell returned contain negative numbers.Note that the last cell clicked is not necessarily the last cell selected. The user could Shift-click in one cell and then drag the cursor to select other cells.
SPECIAL CONSIDERATIONS
You should not call theLLastClick
function from within an interrupt, such as in a completion routine or VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLLastClick
function are
Trap macro Selector _Pack0 $0040