是否可以给listview控件添加一个Items对象,其包含count,exists等属性和方法,这样可以使用For Each...Next方便的遍历listview控件。
You can add a items object to the ListView control, which contains properties and methods such as count,exists, which can be used for each ... Next easy to traverse the ListView control.
example
for each DialogListItem in Dialog.Control("listview").Items
For i = 0 to DialogListItem.SubItems.Count
Str = Str& dopus.output DialogListItem.SubItems(i)
Next
dopus.output DialogListItem.Name & " " & Str
Next