1 Reply Latest reply on Jun 30, 2011 2:21 AM by PurpleFlex

    How to cancel progress bar?

    PurpleFlex

      Hi,

       

      I have an application which does many lines of calculation. While calculation is done, I need to show a progress bar with a cancel button.

      But the issue is that, while processing, the whole ui gets freezed and non-responsive.  Cancelling button doesn't reach to the method where the event is being listened.

       

      Breaking the code in multiple frames of not more than 100ms, updates the text on progress bar but ui is still not responsive. And moreover the overall time for processing increases significantly. Can anybody suggest some solution to this?

       

      Thanks.