elitse
Member
I populated a customlistview from a JSON file. I added a button which was supposed to clear the custom list view and add new items, but this is not happening.
Populating a custom list view:
' this part works'
MenuItems = map1.Get("bulletins")
For i = 0 To MenuItems.Size - 1
m = MenuItems.Get(i)
If m.Get("callSign")="ALL" And m.Get("aircraftType")=actype Then
lstbulletin.AddTextItem(m.Get("summary"),i)
End If
Next
Private Sub Button1_Click
'this is not working'
lstbulletin.Clear
lstbulletin.AddTextItem("hi",100)
End Sub