Optimizing Xojo Code, Part 3: Programmatic Timers and AddHandler

Originally published at: Optimizing Xojo Code, Part 3: Programmatic Timers and AddHandler – Xojo Programming Blog

In Part 1 of this Optimizing Xojo Code series, we looked at a working 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 DesktopWindow. This is a simple and effective solution that takes advantage of…

3 Likes