start

insert additional menu entries (only beas2009 Menu)

 

Here you can manipulate with the object bmenu (bmenu).

 

Therefore a file beasmenu.src is created in the project folder and the function start is defined:

 

// under Materialwirtschaft (materials management)
// a menu "hello world" when starting the message "hello world" is displayed
file beasmenu.src
function start
bmenu=add=bereich=mw,name=hello world,befehl=meldung=hello world
end function

 

More information see bmenu.

 

// under Work order (production)
// Menu "my functions" with submenu "hello world"
file beasmenu.src
function start
bmenu=add=bereich=mw,name=my functions,child=1,stufe=2
bmenu=add=bereich=mw,name=hello world,stufe=3,befehl=meldung=hello world
end function