Just to clarify, I don't get any error messages either, it just doesn't use the custom IComparer class I specify. Are you able to sort nodes in say reverse alphabetical order? If yes, I will try to cook up a small test case.
On Tue, Mar 23, 2010 at 7:03 PM, Carlos Alberto Cortez <calberto.cor...@gmail.com> wrote: > Hey! > I tested this on those same versions, and I cannot get the error. Could you > cook a small test case? > Carlos. > > 2010/3/23 Latif Khalifa <lati...@radegastclient.org> >> >> Hello, >> >> I have had this problem with both 2.4.2.3 and 2.6.3. Identical code >> works on .net side, in mono's TreeView sorting is always alphabetic >> and my Compare() never gets called. >> >> Latif >> >> >> On Tue, Mar 23, 2010 at 4:00 PM, Carlos Alberto Cortez >> <calberto.cor...@gmail.com> wrote: >> > Hey, >> > This should be working. Maybe you hit a bug, but it seems, based on the >> > other information, that you are using an old version. Take a look at >> > that >> > and let us know. >> > Carlos. >> > >> > 2010/3/23 Latif Khalifa <lati...@radegastclient.org> >> >> >> >> Hi, >> >> >> >> I'm trying to cure a few last quirks an an application I'm porting >> >> from windows. The problem I'm having is that setting >> >> TreeView.TreeViewNodeSorter seem to have no effect. The nodes gets >> >> sorted alphabetically and Compare() in my IComparer class never gets >> >> called. Any ideas? >> >> >> >> Also TreeView seem to be missing [+] and [-] images next to the nodes >> >> that can be expanded and collapsed. >> >> >> >> Latif >> >> _______________________________________________ >> >> Mono-winforms-list maillist - mono-winforms-l...@lists.ximian.com >> >> http://lists.ximian.com/mailman/listinfo/mono-winforms-list >> > >> > > > _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list