Special

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 22.1 ('Sandstorm')
Instant purchase and download via GumRoad!

COLUMN

Nonobvious Obvious Stuff

Tips for things that aren't well-documented

Issue: 22.1 (January/February 2024)
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): 14,931
Starting Page Number: 65
Article Number: 22106
Resource File(s):

Download Icon project 22106.zip Updated: 2023-12-31 23:51:02

Related Link(s): None

Excerpt of article text...

Every now and then I run into a need to do something in Xojo and discover to my surprise that I don't have the faintest idea how to do it. It's something obvious and yet illusive. And often searching the documentation produces no solution.

Just recently I made a little app to resize images. I have an AppleScript applet that does this, but it's not very flexible and has some weird limitations. I knew I could do something much better in Xojo, though it would be more work. (The applet literally took me two minutes to make with Apple's Automator.)

This was a simple project, so I was shocked when I ran into stumbling blocks that baffled me. These things felt so basic, I was surprised they were difficult to solve.

Drop On Icon

The main thing I wanted that was slightly unusual (for me) is to allow the app icon on the Dock to accept file drops.

Now I've been implementing drag and drop in my apps for years. While I haven't tried anything too fancy or complicated, the basics of it are pretty simple:

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