Spectre Active Member Licensed User Longtime User Sep 7, 2015 #1 Hi! In a loop that reads data from a GPX and turns them into a table CVS I included a progress bar . The bar did not update. I then inserted in a cycle DoEvent to give update the bar. The cycle has gone from a time of 10 seconds to 40/50 seconds to be finished . Do Events ?
Hi! In a loop that reads data from a GPX and turns them into a table CVS I included a progress bar . The bar did not update. I then inserted in a cycle DoEvent to give update the bar. The cycle has gone from a time of 10 seconds to 40/50 seconds to be finished . Do Events ?
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2015 #2 Change your code to call DoEvents only every 1000 iterations. Code: Copy If i mod 1000 = 0 Then DoEvents Make sure to test performance in release mode. Upvote 0
Change your code to call DoEvents only every 1000 iterations. Code: Copy If i mod 1000 = 0 Then DoEvents Make sure to test performance in release mode.