Add Item to listview
takes a string like "Johnny*(722)555-5555*35" and splits it into columns on a listview control(designed for Report view)
AI
สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
ซอร์สโค้ด
Sub ReportAddTo(lst As ListView, zString As String)
Dim bleh As ListItem
'zString = "One*Two*Three*Four*Five"
On Error Resume Next
Set bleh = lst.ListItems.Add(, , Split(zString, "*")(0))
For i = 1 To 200
bleh.SubItems(i) = Split(zString, "*")(i)
Next i
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine