Wednesday, April 22, 2009

The Main Menu is dead, long live the Main Menu

In Ax 2009, the user interface underwent some drastic changes. The victim seems to be the MainMenu.
Do you still like the old style Ax (Axapta)? Fond memories of the MainMenu?
Here is a simple job, that shows the classic MainMenu.

static void ShowMainMenu(Args _args)
{ Menu Menu;
#admin
;
Menu = new Menu(#MainMenu);
Menu.AOTrun();
}

This should get you going to show the main menu at startup.

Greetings,
Willy

2 comments:

  1. Willy is it a job to get user menu.
    Is it going to bring up the user menu selection on the user options form.

    ReplyDelete
  2. I run this in the job, but nothing happen? what's effect after I run Menu.AOTrun();? Thanks

    ReplyDelete