Heavy work does not belong on the main app thread. Xojo’s Worker class lets you push CPU-intensive jobs into separate helper processes, so your desktop app stays responsive while the real work runs in the background. Better UX, less lag, fewer annoyed users.
https://t.co/qn8lQ3RsTQ
#Xojo #WorkerClass #DesktopDevelopment #Performance
JSON is everywhere in SaaS work, and Xojo makes it dead simple. Build payloads, load responses, and move on with your day instead of babysitting broken string concatenation. Less friction, fewer bugs, faster shipping. That’s the whole game.
https://t.co/79fQGvBpjs
#Xojo#SaaS #JSON #BuildBetter
Need to talk to an Arduino, scale, or industrial device? Drop a SerialConnection control on your window, set baud rate and port, and you’re receiving data in DataAvailable within minutes.
https://t.co/FoSmW1GDTC
#Xojo#Serial#IoT
Conditional compilation is how Xojo apps feel native on every platform without bloat. Mark code for specific targets or debug builds at compile time and the rest disappears from the final binary.
https://t.co/yQWCz7eTjW
#Xojo#CrossPlatform#Code
What’s the difference between a regular ConsoleApplication and a ServiceApplication? And when should you call Daemonize? 🤔
https://t.co/kZ1wZ4g6It
#Xojo#Console#ConsoleApps#Services
Connect to SQLite, MySQL, PostgreSQL or ODBC with one project item. Switch between development and production databases without touching code. The Navigator even shows your tables once you click Connect.
https://t.co/Z4iPnJRKeZ
#Xojo#Databases#RapidDev
Heavy tasks no longer need to freeze your UI. Worker spins up real console helpers that use extra cores, sends progress back with SendProgress, and delivers results in JobCompleted — clean separation without manual thread management.
https://t.co/qn8lQ3RsTQ
#Xojo#Concurrency #Desktop
Xojo Web makes serving files and accepting uploads feel almost too easy. One line to trigger a download, simple event handling for uploads, and smart defaults that keep your server from running out of memory.
https://t.co/VDuJ7iiM4p
#Xojo#WebDevelopment#WebFile#FileUpload
Follow these rules when building your own classes: use UpperCamelCase for classes and members, camelCase for parameters, past-tense events only after the action completes. Never abbreviate unless the term is spoken that way. Boolean UI properties get Allow/Has/Is prefixes when clarity needs it.
https://t.co/hM7wz8aMiw
#Xojo #API #BestPractices
Free Inno Setup script drops your 64-bit Xojo app, Libs, Resources and VC++ runtime into a proper installer in one click. Start menu and desktop icons included.
https://t.co/4JwGZy9wKq
#InnoSetup#Windows
Turn on Supports Dark Mode in Build Settings and your controls automatically switch to system Text Color and Fill Color. No manual color swaps needed on macOS, Windows, or Linux.
https://t.co/rXH5smBM7z
#Xojo#DarkMode#UIDesign
Grab the free Xojo Linux license and start shipping console or desktop apps to Raspberry Pi 3 and newer. Build on your main machine, test with Remote Debugger, deploy to the $35 board.
https://t.co/BvMLFTy5B5
#Xojo#RaspberryPi#EmbeddedDev
Drag URLConnection, call Send, and pull live data or post forms without threads or third-party libs. Works everywhere Xojo runs.
Source: https://t.co/PjOAVlEACo
#Xojo#WebServices#XojoDev
Buttons in the right order, controls that don’t overlap, and Canvas Paint events that keep Windows smooth. Your desktop app feels native everywhere.
Source: https://t.co/8P8gHT6r3a
#Xojo#UIDesign#DesktopDev
RuntimeException is the base. Use Try…Catch for specific types like KeyNotFoundException or NilObjectException. Pragma BreakOnExceptions Off skips the debugger for known cases. App.UnhandledException catches the rest.
https://t.co/otNmPxdAbq
#Xojo#TryCatch#RuntimeException
RegEx.SearchPattern + RegExOptions + RegExMatch let you run fast pattern matches on any string. SubExpressionString and SubExpressionCount handle multiple hits.
https://t.co/wpKgGCirCi
#Xojo#RegularExpressions#RegEx
Circular references are the silent memory leaks that kill long-running apps. WeakRef lets one side of a parent/child or delegate relationship hold a wire without keeping the object alive. When the real references go away, the weak one safely becomes Nil. One small change, zero leaks.
#MemoryManagement #WeakRef #ReferenceCounting #OOP
Need to search an entire folder tree for text without writing messy recursive code yourself? This utility adds maxDepth control, clean separation of search and traversal, and method overloading so the simple one-folder version still works. Drop it in a module and search up to any depth — or everything with -1.
https://t.co/w9zeNEPE9l
#Xojo #FileSearch #Recursion #CodeUtility
#If False excludes blocks entirely — no compile, no syntax check, perfect for broken drafts or large commented-out sections. #If True keeps code always active but gives you a single-line toggle for features. Combine with custom constants like kEnableLogging for centralized control. Works with the context-menu “Wrap In > #If / #EndIf”.
Source: https://t.co/G48SCM28Xn
#Xojo #CompilerDirectives #XojoAPI #CleanCode
How do you test code that only breaks on a specific platform? Remote debugging with Xojo lets you run the debug build on another machine (or VM) while keeping the full breakpoint/step/variable experience in your IDE. Have you set this up yet?
#Xojo#Debugging#AskXojo #CrossPlatform