Optimizing Xojo Code, Part 4: Timer.CallLater

Originally published at: https://blog.xojo.com/2026/02/02/optimizing-xojo-code-part-4-timer-calllater/

In Part 1 of this series, we looked at a common but discouraged approach using a tight loop with DoEvents to keep the UI from freezing. In Part 2, we explored a better alternative by replacing that loop with a Timer control dragged onto a Window. In Part 3, we advanced to creating Timers programmatically with AddHandler for use in classes and modules.…

4 Likes