Hi Bart,

Alle 09:17, giovedì 23 marzo 2006, Bart Aimar ha scritto:
> A final question about shortcut... (I hope!)
>
>
> Now I can register the shortcut at document level.
> But what is the the code to unregister it?
>
> In other way how I can clear the registrated shortcut at document level
> and give back (useable/active) the same shortcut from the global (or
> module) level.

you should use the method :
XAcceleratorConfiguration.removeKeyEvent(aKeyEvt)

see here for details:
http://api.openoffice.org/docs/common/ref/com/sun/star/ui/XAcceleratorConfiguration.html

ciao
Paolo M

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to