Hi Andrew, > I have generated an apparently correct XCU file for use with an Addon zip > file. Package manger understands it and successfully adds the basic library > into the OOo configuration, it also successfully - well, almost, adds the > menu items for calling the appropriate procedure in this library. My problem > is that the menu ends up on every document type window in OOo. That is not a > showstopper, as the routine catches when it is not a Base document and > displays an appropriate message. But it is wrong.
As Marc already said, you can't limit this to one doc type only. But an alternative you might want to consider is using toolbars. *Those* can be limited to one document type (more precise: one module). I don't know how to do it, though :) > Can anyone help me with how I would attach this menu to only the Base > document windows? For bonus points it would be great to also have it > attached to the query designer window. That'd be possible with toolbars, since the application main window and the query designer are different modules. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Database http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
