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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.05.2009, 16:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
axaptapedia: Graphics
Источник: http://www.axaptapedia.com/Graphics
==============

Summary: New page: If You want to add an animated gif file on your Axapta form, use this function. public void gifshower(str filename) { str htmlSource; COMDispFunction webpreviewWrite; COMVariant text =...

If You want to add an animated gif file on your Axapta form, use this function.

public void gifshower(str filename)
{
str htmlSource;
COMDispFunction webpreviewWrite;
COMVariant text = new COMVariant();
COM ctrl = new COM();
;

htmlSource = @'







';

ctrl.attach(HtmlActiveXControl.interface());

webpreviewWrite = new COMDispFunction(ctrl, 'write', COMDispContext::METHOD);
text.bStr(htmlSource);
HtmlActiveXControl.open("");
webpreviewWrite.call(text);

HtmlActiveXControl.close();
}


Источник: http://www.axaptapedia.com/Graphics
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axcoder: PowerShell + Ax Blog bot DAX Blogs 1 09.01.2009 18:05
axaptapedia: Load Web Documents Blog bot DAX Blogs 1 03.01.2009 23:50
X++: Using graphics in forms and legacy reports. Blog bot DAX Blogs 0 01.05.2008 05:20
axcoder: AxPath is supported by axaptapedia Blog bot DAX Blogs 0 11.05.2007 10:00

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

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

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