Sometimes 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.
Xojo Blog Posts
Last week, the country of New Zealand (or “Middle Earth” for Lord of the Rings fans like me) joined the EU in passing legislation banning software patents. They did this because it’s becoming impossible for software developers to innovate without finding themselves violating someone’s patent. This drives up the cost of software development and drives down innovation.
Your Xojo apps can connect to many different databases, including PostgreSQL, MySQL, Oracle, Microsoft SQL Server and ODBC. Learn more about connecting to different database servers here.
We get all sorts of questions about connecting your apps to specific databases. Recently, a developer asked about connecting his app to the PostgreSQL database using SSL for a secure connection. In Xojo this is simple.
Linux, especially Ubuntu, has quickly evolved, introducing core UI changes such as the global menu bar (akin to OS X’s single menubar system) as well as Overlay Scrollbars. Overlay Scrollbars were meant to reduce the amount of clutter needed around content areas by showing up only when hovered over, and always outside the content area. If you’re developing any kind of serious application on Linux, especially if you are targeting Ubuntu, you want to be able to detect whether or not the system supports Overlay Scrollbars.
You may have seen text that has strange diamond characters in it. If so, you likely have an encoding problem.
Xojo 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.
We’d like to thank Wayne Golding for offering the following tip. Wayne Golding has been a Xojo developer since 2005. He operates an IT Company Axis Direct Ltd www.axisdirect.nz which primarily develops applications using Xojo that integrate with Xero www.xero.com. Wayneâs hobby is robotics where he uses Xojo to build applications for his Pi2 often implementing IoT for remote control.
Do you need to run a Xojo Application on Windows with Elevated UAC? Here’s Wayne’s trick to achieve that goal.
Dumb 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 best
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.