I got in some trouble using function keys as a menu shortcut.
I reduced the problem to the attached sample.
If the views on the left side have the focus, pressing Ctrl+S or F12 for the two sample menu entries work like a charm.
If I set the focus on the textfield, only Ctrl+S activates the sample entry 2. By pressing F12 for the first sample entry... nothing happens.
How do I prevent the textfield from catching the function key so the menu entry can be activated with F12 even if a textfield has the focus?
specci48
I reduced the problem to the attached sample.
If the views on the left side have the focus, pressing Ctrl+S or F12 for the two sample menu entries work like a charm.
If I set the focus on the textfield, only Ctrl+S activates the sample entry 2. By pressing F12 for the first sample entry... nothing happens.
How do I prevent the textfield from catching the function key so the menu entry can be activated with F12 even if a textfield has the focus?
specci48