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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.12.2009, 14:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,531 / 847 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: How to run a form modal
Источник: http://blogs.msdn.com/emeadaxsupport...orm-modal.aspx
==============

We wanted to ensure that when using a particular form in AX2009 client no other forms/reports are accessible until the form is closed.

For this we need to make the form a modal form.
We have an example of this in the standard application which can be copied, look at: Classes\SysModalFormDisableAllWkspcs.
This is used to make the Organize favourites form in AX modal (the name of that one is SysFavoritesOrganizeFavorites).

The way we achieve it is by starting the form like this:


...
modalForm.init();
modalForm.run();

If (!modalForm.closed())
modalForm.wait(true);
...



Источник: http://blogs.msdn.com/emeadaxsupport...orm-modal.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: How to fix SQL error: "Too many parameters were provided in this RPC request" Blog bot DAX Blogs 0 01.09.2009 15:05
emeadaxsupport: How to open an AX form from your own help Blog bot DAX Blogs 0 26.07.2009 15:07
How To Resrtict Form Setup Conext Menu Item Blog bot DAX Blogs 0 01.05.2009 04:13
gatesasbait: How to define a custom lookup form for an extended datatype Blog bot DAX Blogs 0 09.07.2008 22:05
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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