Important: The information in this document is obsolete and should not be used for new development.
LDelRow
You can use theLDelRowprocedure to delete one or more rows from a list.
PROCEDURE LDelRow (count: Integer; rowNum: Integer; lHandle: ListHandle);
count- The number of rows to delete, or 0 to delete all rows.
rowNum- The row number of the first row to delete.
lHandle- The list from which to delete the rows.
DESCRIPTION
TheLDelRowprocedure deletes the number of rows specified by thecountparameter, starting at the row specified by therowNumparameter.If the row specified by
rowNumis invalid, then nothing is done.Your application can quickly delete all rows from a list (and thus delete all cell data) simply by setting the
countparameter to 0. The number of columns is left unchanged. Your application can achieve the same effect by setting therowNumparameter tolHandle^^.dataBounds.topand setting thecountparameter to a value greater thanlHandle^^.dataBounds.bottom - lHandle^^.dataBounds.top.Rows whose row numbers are initially greater than
rowNumhave their row numbers decreased bycount.If the automatic drawing mode is enabled and one or more of the rows deleted by
LDelRoware visible, then the list (including its scroll bars) is updated.SPECIAL CONSIDERATIONS
You should not call theLDelRowprocedure from within an interrupt, such as in a completion routine or VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLDelRowprocedure are
Trap macro Selector _Pack0 $0024