You can override method clicked on the button and put the following code there: MenuFunction menuFunction; Args args = new Args(); ; menuFunction = new MenuFunction(menuitemactionstr(yourMenuItem), MenuItemType::Action); args.parm(someValue); //or parmEnum menuFunction.run(args);
This blog discusses tips that would be useful in Microsoft Dynamics AX! I have made a note of all pointers that I thought would prove to be useful for someone at some point in future! Please feel free to drop in your comments and feedback on any article here!
dimanche 1 mai 2011
How to assign parameter in code when menu item is clicked
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire