home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 November
/
pcwk_11_98B.iso
/
Lotus
/
SPANISH
/
LOTUS027.DSK
/
MENU.TPL
< prev
next >
Wrap
Text File
|
1995-08-02
|
702b
|
23 lines
' Create a new top level menu item
MenuName = "&Nuevo men·"
Item1 = "&Primer elemento del men·"
Item2 = "&Segundo elemento del men·"
With .ApplicationWindow.lwpMenuBar
' Delete the menu - prevents duplicates
.deleteitem MenuName
.newitem MenuName, "",0,"Ay&uda" ' add a menu before &Help
End With
Set mymenu=.applicationwindow.lwpmenubar.items.item(MenuName) ' set menu object
mymenu.newitem Item1,"!HitMenu",, ' add item to menu
mymenu.newitem Item2,"!HitMenu",, ' add item to menu
Sub HitMenu
' This routine is called when a menuitem is selected
' Press Ctrl+PageUp to navigate available functions and subs
Messagebox "presione el men·"