Re: [Python.NET] ListView bug?

2005-06-01 Thread Guy Robinson
Ok, my fault :-( This works: data = [("one","test one"),("two","test two"), ("three","test three")] for index in range(len(data)): temp = WF.ListViewItem(str(index)) temp.Text = data[index][0] temp.SubItems.Add(data[index][1]) s

[Python.NET] ListView bug?

2005-06-01 Thread Guy Robinson
Find attached script for a windows.Form. Is this a bug? When loading the data into the listview from a list of tuples: data = [("one","test one"),("two","test two"), ("three","test three")] for item in data: temp = WF.ListViewItem(item[0]) temp.SubItems.Add(item[1]) self.listView.Ite