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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 20.04.2007, 19:20   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
casperkamal: creating Transparent forms in Dynamics Ax
Источник: http://casperkamal.spaces.live.com/B...CD63!271.entry
==============

 
You can  adjust the opacity of a form to make it partially transparent. One good example of such a form is the EventAttentionGrabber.
 
Let us see how to create such forms......
 

 To create such transparent forms is very simple, All you have to do is,
 
1. Change any of the specified property in the Form
(This is only applicable in the following cases 1. When the "Frame" property of the form is in "Border" or "None" 2. When the "Window Type" property of the form is "PopUP")

2. Now on the init or run method of the form write the following code
 
   
  WinAPI::setWindowLayered(element.hWnd());
     //opacityLevel can be an integer variable with max value of 255.
      WinAPI::setLayeredWindowOpaque(element.hWnd(), opacityLevel);

 
and this is how it looks ........
 
    
      

Here is a nice example download and check out a fading window ......
 
  Transparent Form Demo(click to reach the download page)
 
......  that's nice



Источник: http://casperkamal.spaces.live.com/B...CD63!271.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics AX: Managing Your Supply Chain Using Microsoft Dynamics AX 2009 - Book Review Blog bot DAX Blogs 0 31.03.2009 23:06
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Inside Dynamics AX 4.0: Usage Scenarios Blog bot DAX Blogs 0 04.10.2007 05:15
casperkamal: Creating new Syscontext Menu in Dynamics Ax 4.0 Blog bot DAX Blogs 0 06.06.2007 10:07
casperkamal: Creating graphs in Dynamics Ax Blog bot DAX Blogs 1 10.04.2007 21:39

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

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

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