Powered By Blogger

Thursday, June 24, 2010

How to open a form in workspace in DAX2009 like in AX 4.0

ALL,

You all might be aware that all forms in Ax2009 are behaving like an independent application forms and used to open in a separate window which becomes a bit cumbersome 2 handle.

While doing some work over it, i found something not to go with this and restrict DAX to open the forms in workspace rather in a separate window as a workaround (though it's an intentional design in product).

There are two ways to handle it..
1. Just put the below code to the 'SysSetupFormRun' class b4 super() call.

this.form().design().windowType(FormWindowType::Workspace);
super();

2. Change the formdesign property windowtype from standard to workspace. This has to be done for all the forms user wanted 'not 2 open' in a separate window.

Enjoy same feel 2 work in DAx2009.

Cheers DaXing.......

No comments:

Post a Comment