Hi Mathias, maybe one more question: in addition to the toolbar I have created a menubar and all menu-items match the toolbar items (CommandURL, Label, etc.).
The menus also work and show the icons and in addition they show the accelerator keys. *However*, the menu item accelerators show "Shift+Ctrl", whereas the toolbar item accelerators (which are the only ones that got defined by my program) were defined with "Shift+Meta2" (i.e. "Shift+Alt"). Both set of accelerators are operational! Is there a possibility to have the menu display and use the accelerator that got defined, i.e. "Shift+Meta2"? TIA, ---rony On 25.05.2011 18:01, Mathias Bauer wrote: > On 25.05.2011 17:35, Rony G. Flatscher wrote: > >>>>> As an example, I configured "SHIFT-ALT-G" for "Insert-Gallery" in the >>>>> keyboard configuration. The "view" menu (don't ask me why the menu >>>>> has >>>>> it in "view", the config in "insert" ;-)) immediately shows the new >>>>> accelerator, the toolbar quickhelp doesn't. If I now open a new >>>>> document, its toolbar shows the accelerator in the quickhelp text of >>>>> the "Gallery" button. >>>> Just tried this via "Tools->Customize", but it did not work with the >>>> toolbar item. >>> >>> *what* did you try? My example with ".uno:Gallery" or your >>> script/macro? >> Your example. >> >>> In case you didn't notice, it is necessary to create the toolbar >>> *after* you have configured the shortcut, e.g. by opening a new >>> document window. >> Did try that, even shut down all instances of OOo writer. >> >> It's OOo 3.2.1 though, so maybe that does not work with that "old" >> version? > > Hm, probable. I tested with 3.3. Maybe if I come across a 3.2.1 I > might try it again. > > Regards, > Mathias -- ----------------------------------------------------------------- To unsubscribe send email to dev-unsubscr...@api.openoffice.org For additional commands send email to sy...@api.openoffice.org with Subject: help