William B. Parsons
2009-Jan-16 01:34 UTC
[fxruby-users] selective disabling of text entry in a FXTable (again)
Hello, I originally sent the following query to the FXRuby mailing list, but as it seems to be a FOX issue, Lyle Johnson forwarded it to the main FOX list. There has been no reply, so is this a FOX bug or a misunderstanding on my part? Lyle Johnson wrote:> > On Jan 7, 2009, at 4:22 PM, William B. Parsons wrote: > >> I''m working on my first application using FXRuby, and am trying to >> disable >> text entry in certain columns of a FXTable, but calling >> disableItem() on >> a cell doesn''t seem to prevent editing a cell. Do I misunderstand >> the use >> of disableItem()? > > This appears to be a bug in FOX (so I''m Cc''ing the FOX list). Looking > at the source code for FXTable, I see a few checks on the enabled/ > disabled state of table items, to determine whether or not they can be > added to a selection, but that seems to be it.-- Will
Jeroen van der Zijp
2009-Jan-16 05:55 UTC
[fxruby-users] selective disabling of text entry in a FXTable (again)
On Thursday 15 January 2009, William B. Parsons wrote:> Hello, > > I originally sent the following query to the FXRuby mailing list, but as > it seems to be a FOX issue, Lyle Johnson forwarded it to the main FOX list. > There has been no reply, so is this a FOX bug or a misunderstanding on my > part?The original intent of "disabled item" was that it wasn''t selectable; however, I do believe "not-editable" may be a better interpretation of this flag, at least for FXTable.... I will fix this for 1.7... Regards, - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 22:10 01/15/2009 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+
Jeroen van der Zijp
2009-Jan-16 22:00 UTC
[fxruby-users] [Foxgui-users] selective disabling of text entry in a FXTable (again)
On Thursday 15 January 2009, William B. Parsons wrote:> Hello, > > I originally sent the following query to the FXRuby mailing list, but as > it seems to be a FOX issue, Lyle Johnson forwarded it to the main FOX list. > There has been no reply, so is this a FOX bug or a misunderstanding on my > part?It was fixed in FOX 1.7: when an item is disabled, it can not be edited. Regards, - Jeroen
William B. Parsons
2009-Jan-17 13:48 UTC
[fxruby-users] [Foxgui-users] selective disabling of text entry in a FXTable (again)
On Fri, 16 Jan 2009 16:00:09 -0600 Jeroen van der Zijp <jeroen at fox-toolkit.org> wrote:> On Thursday 15 January 2009, William B. Parsons wrote: > > Hello, > > > > I originally sent the following query to the FXRuby mailing list, but as > > it seems to be a FOX issue, Lyle Johnson forwarded it to the main FOX list. > > There has been no reply, so is this a FOX bug or a misunderstanding on my > > part? > > It was fixed in FOX 1.7: when an item is disabled, it can not be edited.OK - Thanks. Is there an easy workaround to disable editing table cells for FOX 1.6? -- Will
Jeroen van der Zijp
2009-Jan-17 15:06 UTC
[fxruby-users] [Foxgui-users] selective disabling of text entry in a FXTable (again)
On Saturday 17 January 2009, William B. Parsons wrote:> On Fri, 16 Jan 2009 16:00:09 -0600 > Jeroen van der Zijp <jeroen at fox-toolkit.org> wrote: > > > On Thursday 15 January 2009, William B. Parsons wrote: > > > Hello, > > > > > > I originally sent the following query to the FXRuby mailing list, but as > > > it seems to be a FOX issue, Lyle Johnson forwarded it to the main FOX list. > > > There has been no reply, so is this a FOX bug or a misunderstanding on my > > > part? > > > > It was fixed in FOX 1.7: when an item is disabled, it can not be edited. > > OK - Thanks. Is there an easy workaround to disable editing table cells for > FOX 1.6?In this particular case, since I can implement it with no API changes, I could probably backport the fix. I think its unlikely to affect anyone since disabling cells isn''t done all that often. So expect it in the next FOX 1.6.x update... - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 08:50 01/17/2009 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+