Hi Hal,

>From what I remember, to add things to a sub menu, I have to do that by hand.  
> Am I wrong?  Is there a way, using OO Basic to add items to a sub menu?

i just found an example:

Programmatically adding to existing Menus
http://www.oooforum.org/forum/viewtopic.phtml?p=102127

to make it run i had to change the "sMyCommand"

> The hard part is I only want those sub-menu items available when that 
> document window is selected.

mh, don't know, the example will add an entry to all spreadsheets ...


Regards

Oliver
-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to