AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.12.2008, 14:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,488 / 846 (79) +++++++
Регистрация: 28.10.2006
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).
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
AIFFault class AX2009 get all errors back in webservice call axstart DAX in English 0 28.01.2009 19:02
axStart: Please keep the AOT reports in Dynamics AX next release alive Blog bot DAX Blogs 2 13.12.2008 12:18
X++: Using graphics in forms and legacy reports. Blog bot DAX Blogs 0 01.05.2008 05:20

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 12:46.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.