Skip to content

Author: Javier Menendez

iOS: KeyDown Arrives to MobileCanvas

As a direct result of user feedback, starting with Xojo 2023r2, the MobileCanvas control on iOS can now receive KeyDown events from the user, both from the on-device keyboard and any connected keyboard. In addition, this support is available in MobileTextArea, MobileTextField and MobileScreen.

Comments closed

Creating a Number Class

In this tutorial I will show you how to create a Number class that can tell you when its value has been actually set, along with other methods to manage how it is used while demonstrating some common object-oriented techniques and features such as operator overloading. You’ll be able to create a Number from an Integer, Double or String.

Comments closed

Filtering the Debugger

Starting with Xojo 2023r1 you’ll find a new feature in Xojo’s Debugger panel that allows you to filter the objects and variables displayed, even between different project runs! This lets you stay focused on the more important objects and variables instead of scrolling through the list of all entries.

Comments closed

Algorithm: Equally Spaced Ranges

There are some situations where you may need a range of numbers that is equally spaced. For example, when given a minimum and a maximum value within which a set of numbers that need to be equally spaced. This is useful if you are designing an UI control displaying “ticks” or for the axis of a graphic chart displaying cartesian values. Continue reading to see a technique to do just this.

Comments closed

Quick Tip: Opening, Shown, Closing and Closed

Knowing the firing order of the Opening event in Xojo Desktop and Mobile apps, and the Shown event for Xojo Web apps, is important to using these correctly for a control’s initialization. The same can be said for Closing and Closed events. Read on for a breakdown of this order for Desktop, Web and Mobile apps developed in Xojo.

Comments closed

PDFDocument: Margins, Merging in a Table and the new Completed method

Xojo 2022r3 included the ability to easily add tables to PDF documents created with Xojo. Now, starting with Xojo 2022r4, this feature has been improved so you can to merge the cells in table’s row! Additionally, you can now set a page’s upper and lower margins and get informed when the table has finished drawing itself. Continue reading to learn how to do all these things!

Comments closed