Skip to content

Tag: Xojo Programming Language

Quickly Add Items to a Dictionary

The Dictionary is a great class for managing a collection of items. A Dictionary gives you fast lookup of information which consists of two parts. The first part is a key that is a unique way to identify a value, which is the second part. These are each Variants so you can put any data type you want into the Dictionary.

Comments closed

2019 Xojo Design Award Winners

Geoff announced the winners of the 2019 Xojo Design Awards during his Keynote in Miami. With so many entries this year, judging was not easy on us. The Design Awards honor excellence in software design in the following categories: Best Developer Tool, Best Specialty App, Best Consumer App, Best iOS App, Best Educational App and Best Vertical Market App, Best Cross-Platform App, Best Developer Tool.

The 2019 Xojo Design Award Winners are:

Comments closed

Canvas: How to Create Custom UI Controls

Xojo includes a good amount of UI controls available from the Library for Desktop, Web, iOS and Raspberry Pi targets. These are the pieces that allow you to layout the user interface of your apps: properties, methods and events that, when combined, define the specific behavior of the project at hand.

Sometimes, subclassing the available controls is the answer to add specific behaviors you need. But what happen when none of the controls offer what you need, whether visually or functionally? The answer is the Canvas class (for Desktop projects), WebCanvas class (for Web projects) and iOSCanvas class for iPhone and iPad devices. But how do you create your own UI controls from scratch? Read on to learn…

Comments closed

Speeding up the Layout Editor

For more years than I’d like to admit, the Layout Editor has been slow in terms of dragging controls around. As you add more controls, it gets worse. For web layouts, it’s been even worse. That’s primarily because we have to draw everything for a web layout whereas for a desktop layout, the OS draws the controls for us.

In an engineering meeting, I mentioned a discussion I had with a user about the speed of the Layout Editor and Travis said he had recently been reminded of how slow it was too. While most of the time issues in Xojo are carefully calculated and prioritized for maximum bang for the buck (as we say around here), that’s not always how it happens. After the meeting, Travis decided to dive into the Layout Editor code and see what could be done to speed it up.

The results are pretty remarkable.

Comments closed