FXRealSpinner::onKeyPress
Jakob Erdmann <[email protected]>
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <CAMbUcbxt635tmBhaJLDqG1qSY2qsMyTg8rbFG30WePJ_=f8FLw@mail.gmail.com> |
Dear JVZ, I'm wondering how to best bind some keyboard shortcuts in my Application (SUMO) and having trouble with widgets that "handle" key presses. It appears that the FXRealSpinner "handles" invalid keyboard input with a beep() and then returns 1; To my understanding this has the effect that any accelerators defined for letter keys are effectively ignored while the FXRealSpinner widget has focus even though the widget cannot use them. I suppose I could preempt all keys in the onKeyPress method of my main window but this strikes me as an inelegant way of working around the standard accelerator code. I could also subclass the spinner widget to let it ignore some keys but maybe I'm missing a better solution? best regards, Jakob _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users