Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 17.6 ('Xojo in Cologne')
Instant purchase and download via GumRoad!


A New Way to Date

Exploring API 2.0

Issue: 17.6 (November/December 2019)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 11,760
Starting Page Number: 90
Article Number: 17608
Resource File(s):

Download Icon project17608.zip Updated: 2019-11-01 12:16:10

Related Link(s): None

Excerpt of article text...

Things are changing with Xojo, as API 2.0 is here (in 2019 release 2) and that means new toys for us to play with. (It's better to think of it in that positive way rather than, "Oh boy, more work for me to fix all my projects!")

API 2.0 is an interesting beast. It has new features, but they're done in such a way that they don't interfere or change the way you've been working. The goal is to make the Xojo language more consistent, predictable, and easier to learn. For us old fogies, it's change, but for everyone else it's progress.

There's a lot of grammatical change to the Xojo syntax, such as windows that use Opening events instead of Open, to better describe what's really happening (the window isn't actually opened yet, but it's in the process of opening).

Similarly, pushButtons now have a Pressed event when they've been clicked. Arrays have added lots of new syntax, such as addRow instead of append, and lastRowIndex instead of uBound. Most of this is minor and won't change your coding.

You can read more about these changes in the Xojo User Guide:


...End of Excerpt. Please purchase the magazine to read the full article.