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 19 in printed book and digital formats -- plus a one-year subscription (beginning with 20.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.3 ('XDC 2019')
Instant purchase and download via GumRoad!


Numbers Please! Part 2

A numbers-only textfield...

Issue: 17.3 (May/June 2019)
Author: Markus Winter
Author Bio: Markus is a Molecular Biologist who taught himself REALbasic programming in 2003 to let the computer deal with some exceedingly tedious lab tasks. Some call it lazy, he thinks it smart. He still thinks of himself as an advanced beginner at best.
Article Description: No description available.
Article Length (in bytes): 17,284
Starting Page Number: 13
Article Number: 17002
Related Link(s): None

Excerpt of article text...

In the last issue I explained the surprising difficulties of creating a numbers-only textfield, so this time we will get into the nitty-gritty of our NumbersOnlyField.

The first question we need to ask is exactly what features do we want to implement? After all, if we are going to all this trouble, then it makes sense to do it properly once and be done with it for the foreseeable future... or at least cover all eventualities that we can think of at the moment. My wish list includes some options:

  • allow only integers

  • allow decimals

  • allow negative numbers

  • allow leading zeroes (I really dislike them, but somebody else might need them)

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