Article Preview
Buy Now
COLUMN
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):
7515 project.zip Updated: 2009-07-01 13:06:05
Related Web Link(s):
http://"
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.