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 7.5


Canvas 101

Canvas Basics

Issue: 7.5 (July/August 2009)
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): 16,796
Starting Page Number: 46
Article Number: 7515
Resource File(s):

Download Icon 7515 project.zip Updated: 2009-07-01 13:06:05

Related Web Link(s):


Excerpt of article text...

Beginners are often intimidated by the canvas control. It took me a while before I did much with it. A canvas is literally blank, an empty canvas if you will, ready for you to paint with code. So what do you do with it?

The most common use for a canvas is to display a picture. This is easily accomplished by simply dragging a canvas to a window and setting the canvas' backdrop property to a graphic you've imported into your project.

This technique is useful for displaying something simple like an application's logo or a background picture, and it has the key advantage of displaying within the IDE so you can see the result without having to compile and run your application.

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