Erasing a List View's items, without erasing the columns

  • Thread starter Thread starter Miesha.James
  • Start date Start date
M

Miesha.James

Hi,

I have a list view that will be update dynamically when new
information is received. I parse through the information and call the
update function to clear the current items that are in the list and
print out the new data. My problem is that I dont see a function that
will only clear out the items and subitems and not the columns. Does
anyone know of a function that does that?

Thanks.

MJ
 
I have a list view that will be update dynamically when new
information is received. I parse through the information and call the
update function to clear the current items that are in the list and
print out the new data. My problem is that I dont see a function that
will only clear out the items and subitems and not the columns. Does
anyone know of a function that does that?

AFAIK you don't need one because deleting items does not delete the
columns of the list control. Why do you think it does?

Dave
 
David Lowndes said:
AFAIK you don't need one because deleting items does not delete the
columns of the list control. Why do you think it does?

It might if you are data-bound and remove the DataSource.
 
Back
Top