# Updating canvas using TApplication

**URL:** <https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596>\
**Category:** ROOT\
**Created:** [July 18, 2012, 1:39am UTC](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596 "2012-07-18T01:39:28Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [July 18, 2012, 9:27pm UTC](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596/9 "2012-07-18T21:27:21Z")

</div>

Maybe you could try to add: `gSystem->Sleep(100);` right before “gSystem-\>ProcessEvents();” … this seems to help in my case (no idea why).

---

_[View the full topic](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596)._
