For decades, Goto has been treated as a programming faux pas—something to avoid at all costs. Like most rules though, there are exceptions. The Goto…
Comments closedXojo Programming Blog Posts
As you may already know, starting with Xojo 2025r3, macOS apps can be developed and compiled with UI Compatibility Mode either enabled or disabled. Now imagine you are creating a Library intended for use in other projects and, as part of its UI-related functionality, the Library needs to determine whether the host application is running with UI Compatibility Mode enabled. How can you do that? Read on to find out.
Comments closedIn 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.…
Comments closedI ran across something recently that had me truly scratching my head. My goal was to measure how much extra time it would take for…
Comments closedBesides being a great resource for everything from Xojo code tips and snippets to videos that show you cool things, plus news and announcements, the…
Comments closedProblem: you need to search an array to see if it contains a particular value. The simple solution is IndexOf if it’s a simple array, or a…
Comments closedmacOS 26 and iOS 26 bring many changes, most notably a major UI overhaul. This means that some elements in your existing layouts, both small…
Comments closedWith Xojo 2025 Release 3, we are introducing Jade, an AI assistant for Xojo. This initial version is primarily for asking general Xojo-related questions and…
Comments closedLibraries, introduced in Xojo 2025r3, make it easy to reuse your classes and interface items such as windows, webpages, and mobile screens across projects. As…
Comments closed