Animated progress bar in dynamics ax


Description:-

in this example we will use animated progress bar to let the end users know that process is running at the back ground.

We can use Animate controls to show the progress. Create a new form and add a animate control as shown below. Change the autoDeclaration property of the animate control to Yes.
Override the run() method and paste the below code

public void run()
{
  int i;
  #AviFiles
  ;
  super();
  for (i = 1 ; i <= 10000; i ++)
  {
    Animate.animateFile(#AviPrint);
    Animate.play(); //autoplay(true);
  }
  Animate.visible(false);
}

Related Posts

Previous
Next Post »

1 comments:

comments

Thanks for comments.....