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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.07.2008, 03:39   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
axaptapedia: Progress Bar
Источник: http://www.axaptapedia.com/Progress_Bar
==============

Summary: /* Introduction */

<div>== Introduction ==
A progress bar is a graphical representation of a job's progress and they are used extensively in the application. If a long running process displays a progress bar, the user can monitor the progress and can estimate the approximate time of completion. It is best practice to always display a progress bar during a lengthy process.

== Progress Bar within a batchable class ==

The RunBase framework has methods which will initialize the progress bar so that you can focus on coding the process.


// progress bar Runbase demo
public void run()
{
str text;
int percent;
int counter;
int64 progressTotal = 200; // hard coded for demo purpose (this is normally calculated)
;

this.progressInit("Processing", progressTotal, #AviFormLetter);
progress.setText("Item");

for (counter = 1; counter
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axaptapedia: RunBaseBatch Blog bot DAX Blogs 0 04.04.2009 22:05
axaptapedia: RunBaseBatch Blog bot DAX Blogs 0 31.03.2009 06:06
axaptapedia: Progress Bar Blog bot DAX Blogs 0 27.06.2008 11:05
axaptapedia: Configuration in title bar Blog bot DAX Blogs 1 08.03.2007 19:57
Как правильно работать с Progress bar? malex DAX: Программирование 2 19.09.2004 23:23

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

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

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