10.12.2008, 14:05 | #1 |
Участник
|
axStart: Get your forms back in one workspace
Источник: http://axstart.spaces.live.com/Blog/...C0A0!434.entry
============== 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 public void init() { if(this.form().design().windowType() == FormWindowType::Standard) //AXStart this.form().design().windowType(SysUserInfo::find().FormWindowType); //AXStart super(); SysSecurityFormSetup::loadSecurity(this); this.dimensionFieldCtrls(); this.inventStorageDimFieldCtrls(); if (this.isWorkflowEnabled()) { workflowControls = SysWorkflowFormControls::construct(this); workflowControls.initControls(); } } Источник: http://axstart.spaces.live.com/Blog/...C0A0!434.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
За это сообщение автора поблагодарили: gl00mie (5), alex55 (1). |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|