joshiggins wrote: > > I'm running 32-bit Gambas 2.8 (the one in Jaunty) and I don't seem to get > this problem. Granted I'm not adding 13000 strings, more like 200. > > Are you using the gtk or qt component? >
I'm using gtk. I need to correct my previous post. Whether it's set via the GUI is irrelevant. Setting it to FALSE after it's been set to TRUE (by any method) is what crashes it. It also needs to contain data. If it's empty then it won't crash. I've tried a columnview with 1 and three columns and data sizes as small as 48 strings. Here's the code snippet: ColumnView_Collection.Sorted = FALSE WHILE NOT Eof(FileCollection) LINE INPUT #FileCollection, s ColumnView_Collection.Add(Record - 1, s) ColumnView_Collection[Record - 1][1] = "Some directory" ColumnView_Collection[Record - 1][2] = "Some size" Record = Record + 1 WEND ColumnView_Collection.Sorted = TRUE It crashes at "ColumnView_Collection.Sorted = FALSE" anytime it's already sorted and contains data. Is there a way to erase the columnview's contents completely without destroying the control? I use ColumnView_Collection.Clear prior to setting .Sorted to FALSE but it makes no difference. If I could get it back to its virgin state (before I added keys to it) I can work around the issue. ----- Kevin Fishburne, Eight Virtues www: http://sales.eightvirtues.com http://sales.eightvirtues.com e-mail: mailto:sa...@eightvirtues.com sa...@eightvirtues.com phone: (770) 853-6271 -- View this message in context: http://www.nabble.com/GAMBAS-crash-when-setting-columnview%27s-Sorted-property-tp25486385p25488985.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user