Re: Adding Items to a Sub-Menu

Hal Vaughan <[email protected]> Thu, 16 Jun 2011 03:33:28 -0400
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
I kind of had to drop the idea of displaying the note titles in the menu fo=
r a number of reasons.

Thanks, anyway!



Hal

On Jun 15, 2011, at 2:10 PM, Oliver Brinzing wrote:

> Hi Hal,
>=20
>> From what I remember, to add things to a sub menu, I have to do that by =
hand.=20=20
>> Am I wrong?  Is there a way, using OO Basic to add items to a sub menu?
>=20
> i just found an example:
>=20
> Programmatically adding to existing Menus
> http://www.oooforum.org/forum/viewtopic.phtml?p=3D102127
>=20
> to make it run i had to change the "sMyCommand"
>=20
>> The hard part is I only want those sub-menu items available when that do=
cument window is selected.
>=20
> mh, don't know, the example will add an entry to all spreadsheets ...
>=20
>=20
> Regards
>=20
> Oliver
> --=20
>=20
> GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
>=20

--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help