[Fxruby-users] Re: FXRuby tree item bug resolved...
Status: Inactive
Brought to you by:
lyle
From: Kevin B. <kev...@sy...> - 2003-10-03 17:15:54
|
Lyle and All, I just changed my app to use TREELIST_BROWSESELECT (which is what I need), and now it chokes on the selectItem in FXTreeList::removeItem (right after the setFocus call) when closing the app. :) (I'm not using the .27 CVS version you provided, since it was really just a workaround and my workaround (moving the focus on close) works too.) At any rate, doing killSelection doesn't help (probably ignored with BROWSESELECT), nor does tree.selectItem(tree.firstItem). The only workaround in Ruby is to call tree.removeItems on application close. This works even for the setFocus problem, so I'm just doing that. Kevin |