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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 02.05.2009, 14:06   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
DeniZone: Show current configuration in title bar of windows
Источник: http://denizone.blogspot.com/2009/01...title-bar.html
==============

This code snippet shows the current configuration of the AX client you have opened. Really helpful if you have several different AX clients opened at the same time.

X++:
void workspaceWindowCreated(int _hWnd)
{
   SqlSystem       sqlSystem = new SqlSystem();
   LoginProperty   loginProperty = sqlSystem.createLoginProperty();
   ;

   // Put workspace window specific initialization here.

   // Show application details in title bar
   if (loginProperty)
   {
       WinAPI::setWindowText(_hWnd, strFmt("%1 - %2@%3 (%4)", WinAPI::getWindowText(_hWnd), loginProperty.getDatabase(), loginProperty.getServer(), this.currentAOLayer()));
   }
}

Источник: http://denizone.blogspot.com/2009/01...title-bar.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Теги
blog, configuration utility, title, x++

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
gatesasbait: Showing Database name of current AOS in AX 4.0x title bar Blog bot DAX Blogs 0 18.12.2007 19:50
Inside Dynamics AX 4.0: Licensing and Configuration Blog bot DAX Blogs 0 31.10.2007 11:40
Client Axapta 3.0 SP4 и Linux. Как запустить? Daiver DAX: Администрирование 10 28.06.2007 15:59
axaptapedia: Configuration in title bar Blog bot DAX Blogs 1 08.03.2007 19:57
при построении перекрёстных ссылок выдаётся сообщение об ошибках mmmax DAX: Программирование 10 21.01.2005 12:42

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:04.