[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
On 25.05.2011 08:35, Mathias Bauer wrote: On 24.05.2011 22:31, Rony G. Flatscher wrote: Hi there, in the meantime I have been able to add shortcuts to the toolbar items and they are operational. However, the shortcut letter is not underlined, although using the tilde (~) before the letter

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
Fernand, On 25.05.2011 09:15, Fernand Vanrie wrote: When making mi extentions i found (by accident if forgot to use ~) the system (at least for menubar items) automaticly gives a underlined letter thank you for that hint. Unfortunately, this does not work either. ---rony --

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Mathias Bauer
On 25.05.2011 10:34, Rony G. Flatscher wrote: On 25.05.2011 08:35, Mathias Bauer wrote: On 24.05.2011 22:31, Rony G. Flatscher wrote: Hi there, in the meantime I have been able to add shortcuts to the toolbar items and they are operational. However, the shortcut letter is not underlined,

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
On 25.05.2011 11:22, Mathias Bauer wrote: On 25.05.2011 10:34, Rony G. Flatscher wrote: On 25.05.2011 08:35, Mathias Bauer wrote: On 24.05.2011 22:31, Rony G. Flatscher wrote: Hi there, in the meantime I have been able to add shortcuts to the toolbar items and they are operational.

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Mathias Bauer
On 25.05.2011 12:06, Rony G. Flatscher wrote: Are you sure that you don't talk about accelerators (those who are assigned to commands using tools-customize-keyboard)? O.K., I think the best is that I show you the code snippets then. The code is in ooRexx but excersises the Java API behind the

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
Mathias, thank you very much for your explanations!A comparable functionality does not exist for toolbar items. ... cut ... OTOH, toolbar quickhelp texts can show *accelerators* that are configured for the same functionality, in the same way as the menus do. (We don't do that in the item

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Mathias Bauer
On 25.05.2011 14:32, Rony G. Flatscher wrote: How can I define a quickhelp text for each toolbar item? It seems that by default the label of the toolbar item is used as the quickhelp (tooltip?) text, and that does not exhibit the shortcut key by underlying it. Indeed the quickhelp text is the

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
Hi Mathias, On 25.05.2011 16:40, Mathias Bauer wrote: On 25.05.2011 14:32, Rony G. Flatscher wrote: How can I define a quickhelp text for each toolbar item? It seems that by default the label of the toolbar item is used as the quickhelp (tooltip?) text, and that does not exhibit the shortcut

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Mathias Bauer
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

[api-dev] Re: Toolbar items: how to get them to show the shortcut letter underlined ?

2011-05-25 Thread Rony G. Flatscher
Hi Mathias, sorry for the noise, the accelerators work correctly for both menu and toolbar items. The problem: during different test runs I created accelerators with Shift+Ctrl and for Shift+Alt without ever removing the accelerators upon uninstall. Therefore both sets of accelerators were