MarBar77 Posted February 10, 2020 Share Posted February 10, 2020 I have created some graphical controls using TUniCanvas placed on TUniPanel. And those Panels are additionally placed on TUniTabSheets. Now I am doing some calculations in a loop for all those graphical components and refreshing their contents one by one, but on the results page they are not refreshed one by one but I have to wait while all calculations are ended. How I can force to refresh/repaint particular control just one by one, I have tried to synchronize session but with no effect. So in simply words I want to get effect that control 1 is refreshed just after calculation 1 and refreshing is ended, then control2 ater calculation 2, then control 3 afeter calculation 3 etc. Now I have such behaviour: I make calculation 1 and calling repaint control, making calculation 2 and calling repaint for control 2, making caluclation 3 and calling repaint for control 3 and when all calculations are ended then after this all 3 controls are refreshed in the same moment on page. I am making those calculations and repaints in OnTimer event in a loop for all controls. Do you have any advice how to force just in time repainting? Quote Link to comment Share on other sites More sharing options...
Abaksoft Posted February 10, 2020 Share Posted February 10, 2020 Maybe this : https://stackoverflow.com/questions/2099201/javascript-hard-refresh-of-current-page Quote Link to comment Share on other sites More sharing options...
MarBar77 Posted February 11, 2020 Author Share Posted February 11, 2020 I just want to force refresh particular control not whole page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.