WINDOWS Live Search

To contact me for any clarifications regarding any posts / information, please mail me at arijit [dot] basu [at] gmail [dot] com


Monday, December 18, 2006

DAX 3 menu in DAX 4

Below are the steps to show the DAX 3 Menu in DAX 4.0. Remember you cannot change the DAX 4.0 Navigation Pane but you can create a similar toolbar :)






On the Clicked Method of the Menu Icon (Its actually a button with Image Only Property), add the following code

void clicked()
{
#AOT
Menu stdMenu;
;
super();
stdMenu=infolog.findNode(#MenusPath + #AOTDelimiter + menustr(mainMenu));
stdMenu.AOTrun();
}

You will get the Old menu :)














You can also add this code to the Startup method.
However the DAX 4 Menu is much better :)

1 comment:

Edwin Paez said...

hI, IS MORE EASILY THIS:

ON \Forms\SysUserSetup\Methods\getMainMenuItems

COMMENT LINE 35

then on User Options select as menu for starup Main Menu ;)