代码如下
//---------------------------------------------
ListView1.Items.BeginUpdate;
...
//在这里添加或者删除
...
ListView1.Items.EndUpdate;
//---------------------------------------------
Beginupdate和endupdate的作用是:
Prevents updating of the list view until the EndUpdate method is called.
(来自delphi帮助文件)