Long time ago I always complained about long time operations without any feedback ( silly me, i didn't know about big companies volume ) and Suddenly a requirement appears. We have a screen that takes a loot of time to make some action and after reviewing we realize that the screen does a loooot of stuff so I can't actually make that screen faster (may be I'm i keep looking) but en the meanwhile. And the worst part the user's are really hyperactive, what a nightmare they found how reduce the time . . . by closing the window and reducing their time by well they didn't but you get it, so how make them realize that the screen is working. Simple
adding a progress bar
so where is the code:
APP_WINDOW.PROGRESS( 0,'First Message..... ');
synchronize
/*Long time operation*/
APP_WINDOW.PROGRESS(.1,'Second Message..... ');
synchronize;/*Long time operation*/
APP_WINDOW.PROGRESS(.3,'Third Message..... ');
synchronize
/*Long time operation*/
APP_WINDOW.PROGRESS(.4,'YOU GET IT .... ');/*Long time operation*/
synchronize;
APP_WINDOW.PROGRESS(100);
Has simple has that well why write this article if this is on the documentation basically because on the documentation talks about closing when the parameter is greater than 99% but they didn't tell you that they move the percentage in a value between 0 and 1 so 50% equal to .5 .
So have fun.
No hay comentarios:
Publicar un comentario