On Wed, Mar 06, 2013 at 05:41:29PM -0300, Ariel Constenla-Haile wrote: > Hi, > > On Tue, Mar 05, 2013 at 09:13:38PM -0600, Galileo Teco Juárez wrote: > > could give me a simple example of code > > a frame on .. with menus > > > > check > > http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/XMenu.html # > > insertItem > > > > I find information: nItemID, nItemStyle, > > I do not understand why > > A simple example depends on what you are trying to do. Are you trying to > modify the menu bar of on of the application? Are you trying to create > a window with a menu bar? Are you trying to create a button that when > pressed displays a popup menu? (I had a simple example for the later, > but I can't find it right know).
I didn't find the example with the menu button, but found this one with a context menu: http://people.apache.org/~arielch/api/DIALOGO_EVENTOS.odt (It's in Spanish) Regards -- Ariel Constenla-Haile La Plata, Argentina
pgp6FUtZ1iS6d.pgp
Description: PGP signature