25 July 2012

Calling a MenuItem

This post is just for me to remeber these lines of code ;)

MenuFunction menuFunction = new MenuFunction(menuitemdisplaystr(MENUITEM), MenuItemType::Display); 
Args args = new Args(); 

args.caller(element); 
args.record(DS); 
menuFunction.run(args);
Post a Comment