From: Luis M. G. <lu...@gm...> - 2006-07-18 18:34:19
|
Please forget my previous email. All my confussion is because I've been trying many things at once... Summing up: 1) setColumnHeadings() doesn't work for me.=20 2) Asigning a list of lists to columnHeadings works, but I cannot use = "wx.LIST_AUTOSIZE" as width parameter. If so, I get this error: sc.MultiColumnList2.columnHeadings =3D [ ['DESCRIPCION', = wx.LIST_AUTOSIZE], AttributeError: 'module' object has no attribute 'LIST_AUTOSIZE' ( Although it works if I specify a integer instead ). 3) SetColumnWidth() works (but with the same caveat I described above). Also, I noted that I get different behaviours depending on when I add = data to the multicolumnlist: For example, if I use the "SetColumnwith" method, I have to add the data = first. On the other hand, if I use an assignment to "columnHeadings", I must = add the data later. In any case, the width must be specified with integers. So the only problem I have now is that I cannot use "wx.LIST_AUTOSIZE" = nor "wx.LIST_FORMAT_LEFT" for aligning items, for example. Luis |