home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 November
/
pcwk_11_98B.iso
/
Lotus
/
GERMAN
/
LOTUS027.DSK
/
MENU.TPL
< prev
next >
Wrap
Text File
|
1995-08-05
|
697b
|
23 lines
' Create a new top level menu item
MenuName = "&Neues Menⁿ"
Item1 = "&Erstes Menⁿelement..."
Item2 = "&Zweites Menⁿelement..."
With .ApplicationWindow.lwpMenuBar
' Delete the menu - prevents duplicates
.deleteitem MenuName
.newitem MenuName, "",0,"&Hilfe" ' 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 "verbirgt das Menⁿ"