[fxruby-users] FXTable and Escape key
Jeroen van der Zijp
jeroen at fox-toolkit.org
Tue Mar 4 18:50:03 EST 2008
On Tuesday 04 March 2008, Lyle Johnson wrote:
> On Mar 4, 2008, at 2:17 PM, Tim Smith wrote:
> > When editing an FXTable item, if you press Escape, your changes are
> > cancelled. However, when an item is selected but not being edited,
> > the table still traps the Escape keypress. As a result, in the
> > following code, if you open the dialog and then press Escape, it
> > closes. But if you open the dialog, select an item in the table,
> > and then press Escape, nothing happens. Is this behavior – trapping
> > Escape when no item is being edited – desirable? I would expect the
> > dialog to close in both cases.
> Jeroen will need to make the decision about whether this is the
> appropriate default behavior for FXTable (i.e. it's a FOX thing, not
> an FXRuby thing).
Indeed, if FXTable does this, I think its wrong; we should probably
ignore ESC when a cell is not being edited...
I will take a look.
More information about the fxruby-users