Re: [Fxruby-users] Re: FXRuby tree item bug resolved...
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@kn...> - 2003-10-04 12:35:33
|
Kevin Burge wrote: > 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. OK, sounds good. I am still playing around with the modifications to FXRuby that you suggested, since they seem (to me) to be the appropriate way to handle things. Hope to have these available for the next release. |