Important: The information in this document is obsolete and should not be used for new development.
LSetSelect
You can use theLSetSelectprocedure to select or deselect a cell.
PROCEDURE LSetSelect (setIt: Boolean; theCell: Cell; lHandle: ListHandle);
setIt- A Boolean value that indicates whether the
LSetSelectprocedure should select or deselect the specified cell. SpecifyTRUEto select the cell; specifyFALSEto deselect the cell.theCell- The cell to be selected or deselected.
lHandle- The list containing the cell to be selected or deselected.
DESCRIPTION
IfsetItisTRUE, then theLSetSelectprocedure selects the cell specified by thetheCellparameter in the list specified bylHandle. If the cell is already selected,LSetSelectdoes nothing.If
setItisFALSE, thenLSetSelectdeselects the cell specified bytheCell. If the cell is already deselected,LSetSelectdoes nothing.If a cell's selection status is changed and the cell is visible,
LSetSelectredraws the cell.SPECIAL CONSIDERATIONS
You should not call theLSetSelectprocedure from within an interrupt, such as in a completion routine or VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLSetSelectprocedure are
Trap macro Selector _Pack0 $005C SEE ALSO
For examples that change the items selected in a list, see "Working With List Selections" beginning on page 4-25.