Показать сообщение отдельно
Старый 28.09.2010, 20:53   #3  
oip is offline
oip
Axapta
Лучший по профессии 2014
 
2,564 / 1416 (53) ++++++++
Регистрация: 28.11.2005
Записей в блоге: 1
Цитата:
Get your forms back in one workspace

In AX 4.0 all forms appear in the main AX application Frame, but with AX 2009 all your forms are hovering around acting like independent applications Forms. If you close the main AX window by accident, all Forms are gone. It is not so hard to get the AX 4.0 look and feel back in AX 2009. Every form has a design property WindowType. Change this properly to Workspace and the Form will have similar behavior like AX 4.0.

A more general solution for this issue will be the next option:

· Add labels to Base Enum FormWindowType.
· Add the base enum FormWindowType to Table SysUserInfo
· Add the next line before super() in the method init of the Class SysSetupFormRun
X++:
public void init() 
{ 
    if(this.form().design().windowType() == FormWindowType::Standard)         //AXStart 
        this.form().design().windowType(SysUserInfo::find().FormWindowType);  //AXStart 

    super(); 
...
}
http://axstart.spaces.live.com/Blog/...C0A0!434.entry
За это сообщение автора поблагодарили: demianimp (1).