Skip to content

Category: General

Backwards SQLite Backups

If you use SQLite databases in your apps you may or may not be aware of the Backup method which allows you to quickly and asynchronously create a backup of an existing connected database. This is especially great if you have an in-memory database and you want to store that data on disk for later reference.

Comments closed

#1 on the Xojo Roadmap: Android

We’re hard at work on Xojo’s upcoming Android support — it is our top priority. As we’ve discussed previously, you can see in the current versions of Xojo that the latest iOS controls now start with “Mobile” in their name. Although Android and iOS will start off as different project types, implementing the “Mobile” prefix is an important step to complete so you will see similar controls when Android support is available.

Comments closed

2020: A Year of Change

Despite the uncertainty, 2020 has been a terrific year for Xojo by nearly every measure. We will continue to plan and be hopeful for the future and we look forward to seeing you in person at XDC London in October 2021. Best wishes to everyone for a happy and healthy 2021.

Comments closed

Top-Rounded Rectangle

On the forum a user asked if there was a way to create a rectangle with only the top left and top right corners being rounded. Xojo’s built-in RoundRectangle control draws with all four corners rounded, so that was not an option.

One solution is to use a GraphicsPath to draw exactly what you want. With a GraphicsPath you can use the AddArc() method to add rounded corners and then draw the lines for the rest of the rectangle.

Comments closed

Singletons and the Web

The singleton design pattern has its place in the desktop environment where there will be only one user running the application, and when that user quits the app the singleton is destroyed. This doesn’t fit the requirements of a multi-user environment such as the web where many users will be accessing the application at once. I recently came across this issue when porting a desktop app to the web which required me to design a singleton class that is session sensitive. Here’s a walk through of how I achieved my goal. Please note that scopes are particularly important when creating this class.

Comments closed

Xojo License FAQ

Xojo is an easy-to-use Integrated Development Environment (IDE) and programming language that allows you to create and deploy all kinds of native apps and solutions on Desktop (Windows, macOS, Linux), Web, iOS and Raspberry Pi with Android on the horizon.

We often get questions from newcomers about how Xojo licenses work and what license options available. Read on to learn what Xojo license is right for your needs. At the end, if you still aren’t sure what license is right for you, you can get in touch with us and we’ll help you get what you need.

Comments closed