BlueGue - How to I add text to ListView Columns?
I'm trying to set the Text in the ListView Columns, (for the Items), But nothing shows.
Can someone tell me what im doing wrong?
Win = CreateWindow(100,100,500,300,"Explorer",WINDOW_NORMAL,0,1,0)
List = CreateListView(0,0,500,300,Win)
ImgList = CreateImageList(50,50)
AddImageListItem ImgList,UserImg
AddImageListItem ImgList,GroupImg
AddImageListItem ImgList,ComputerImg
AddListViewColumn List,"UserName",200
AddListViewColumn List,"CompName",200
AddListViewColumn List,"IPAddress",200
AddListViewColumn List,"IPAddress",200
AddListViewColumn List,"IPAddress",200
setListViewStyle List,LISTVIEW_REPORT
`LISTVIEW_ICON
`LISTVIEW_REPORT
`LISTVIEW_LIST
Perform CheckList For Files
For n = 1 to CheckList Quantity()
AddListViewItem List,CheckList String$(n),0
SetListViewItemText List,n,1,Str$(Checklist Value A(n))
SetListViewItemText List,n,2,Str$(Checklist Value B(n))
SetListViewItemText List,n,3,Str$(Checklist Value C(n))
SetListViewItemText List,n,4,Str$(Checklist Value D(n))
Next n