Mnemonics for windows under … windows
I’d like to close all windows with Ctrl W, but using mnemonics only allows Alt W which is quite unusual under windows. and custom menus (where there are accelerators) cannot be used for forms shown with showFormInDialog as no code is executed after the form is displayed (modal). I also would like to use Escape also to leave such a window. any workaround, or shall I submit a feature req for this?
Take a look at the default shipped window plugin, especially the function: plugins.window.createShortcut( shortcut, method, [form_name])
I know, but how to set this with a modal dialog?
just a remark: Mnemonics are not the same as shortcuts actions, dont make the same mistake as Apple also does (telling me that those 2 are the same) shortcuts target direct actions and you cant have an unlimited supply of them (not enough keys/combos). Mnemonics walk tree’s of menu’s to a specific action and they are pretty much unlimited.
shorcut did it.
but could not find a way to get a menu in a sub window, they always go the main window…