Показать сообщение отдельно
Старый 27.06.2008, 11:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
axaptapedia: Progress Bar
Источник: http://www.axaptapedia.com/Progress_Bar
==============

Summary: New page: == 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. Example code goes ...
== 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.


Example code goes here


== Progress Bar within a Method ==

On occation you may want to show a progress bar from a method, whether that be inside a class or just a job. You can show it as follows:


#AviFiles
SysOperationProgress progress = new SysOperationProgress();
;
progress.setAnimation(#....); // from AviFiles macro
progress.setCaption("");

//99 Steps to perform
progress.setTotal(99);

progress.incCount();

progress.setCount(2);

progress.setCaption("");



progress.kill();


[[Category:General development]]


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