Get progress bar


This is the sample post to let the use know that some process is going in the background and keep them updated. 

1)      Progress bar

static void operationProgress_progressBars(Args _args)
SysOperationProgress progress = new SysOperationProgress();
int i;


progress.setCaption(“Progress bar example…”);
for (i = 1; i <= 50000; i++)
progress.setText(strfmt(“The value of i is %1”, i));
progress.setCount(i, 1);

2)   Hour Glass Indicators Example:

Use startlengthyoperation() and endlengthyoperation() between ur business logic
Example :

static void HourGlassMousePointer(Args _args)
int i;
str value;

for( i = 1; i <= 200000; i++)
value += int2str(i) + ‘,’; // some business logic



for more details please refer below link:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s