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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.10.2006, 16:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Fred Shen: Dialog screen events
Источник: http://fredshen.spaces.live.com/Blog...E4E3!160.entry
==============
Some body may wonder if it is possible to use control's event methods in dialog just like what we do in the form. For instance, the change of a given dialog control's value will result in changes in other control's value.
In Axapta, if you use a class that extends RunBase, it allows you to implement the screen events in dialog.
1. in dialog method
    protected Object dialog(…)
    {
         …
         dialog.allowUpdateOnSelectCtrl(true);
         …
    }

Then, when a control is selected, the runbase.dialogSelectCtrl() method is called.
2. in dialogSelectCtrl method

    public void dialogSelectCtrl()
    {
        super(); 
        //processing here
    }





==============
Источник: http://fredshen.spaces.live.com/Blog...E4E3!160.entry
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
DynamicsTech: How to modify the behavior of dialog boxes to enable forms to appear in full-screen mode in Microsoft Dynamics AX Blog bot DAX Blogs 0 13.04.2007 12:10
Fred Shen: Failed to create COM objects on AX 4 AOS Blog bot DAX Blogs 0 08.12.2006 19:14
Fred Shen: Change the combobox options in RunbaseBatch class Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Convert Axapta date type value to datetime type value in SQL Server Blog bot DAX Blogs 0 28.10.2006 16:40
Fred Shen: Development Features of Dynamics Ax (Axapta) 4.0 Blog bot DAX Blogs 0 28.10.2006 16:40

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

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

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