Everybody is taking about multi-platform software development these days. From a desktop to a laptop to a tablet to a phone, people and companies want their software to run on whatever device they are using.
Comments closedCategory: Tips
sort code tips and tricks
Did you know that the Xojo Navigator has a custom tooltip for most of the items you see? For Instance:
Comments closedWant a quick and easy way to add capabilities to bulit-in classes and types without subclassing? Try extension methods.
Comments closedSometimes you need a property that does more than simply store a value. It may also need to calculate a value or perform some other action to lookup a value. You can do this using a Computed Property or an Assignment Method. Read on to learn how these work and when to use them.
Comments closedXojo web apps work very similarly to desktop apps. In fact, they are so much like desktop apps that you may want to make them their own “app”. There are a couple ways you can do this.
Comments closedYou may have seen text that has strange diamond characters in it. If so, you likely have an encoding problem.
Comments closedDumb Ways to Code
By Geoff Perlman
Sung to the tune of “Dumb Ways to Die” by Tangerine Kitty
Use an object that's out of scope
Don't escape your SQL quotes
Ship without a beta test
Think Google Translate to localize is bestComments closed
Nearly all CPUs used by your devices, from computers to tablets to phones, now contain multiple CPU cores. With a multi-core CPU, your computer can literally do multiple things at one time, which is called multiprocessing. And with a little careful planning, your Xojo apps can use multiprocessing for significant performance improvements in your apps.
Comments closedManagers, Coordinators, Purchasing Agents, Xojo has got you covered! Did you know you can assign Xojo licenses from your account to other accounts? Assigning a license to a member of your team gives them access to that Xojo license, while you retain the ability to revoke and extend those licenses.
This blog post steps through a license owner assigning their Xojo license to an end user.
TL;DR Go to go your Team pages. End users share their connection key with the license owner, then owner connects with end user’s account by adding that connection key. Now, the owner can assign licenses to anyone they are connected with from their Licenses Page.
Comments closedPerhaps you already knew, but with desktop apps it has always been considered bad form to directly access any part of your user interface from within a Thread. Alas, even though this was frowned upon, it generally worked in most of your desktop apps.
Starting with 2013r1, this no longer works with Xojo for Cocoa apps. If a Cocoa app tries to access the UI from a thread, a ThreadAccessingUIException is raised. But what exactly does “accessing the UI” mean? In the case of Cocoa, it means any access to a built-in property or method on any UI control or Window. You can access your own methods or properties added to control subclasses as long as they do not access the UI themselves.
Comments closed