Показать сообщение отдельно
Старый 21.07.2008, 03:39   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 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, напишите личное сообщение администратору.