Adding Items to a Sub-Menu

Hal Vaughan <[email protected]> Wed, 15 Jun 2011 01:05:09 -0400
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
I haven't been using the API for a while and I'm working on a macros in OO =
Basic.

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

I'm creating a sticky-note program that will let me make notes that are att=
ached to a document.  They're stored in the document text fields.  I'd like=
 to be able to, when a note is created, add a menu item with the note title=
 to a sub-menu I'm creating.  Also, of course, if the note is deleted, I'd =
like to remove that item from the menu.  The hard part is I only want those=
 sub-menu items available when that document window is selected.

Is that do-able without going through a nightmare?


Thanks for any info or pointers on this!



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