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.2


Graph Paper Maker

Create your own customized graph paper

Issue: 7.2 (January/February 2009)
Author: Brad Rhine
Author Bio: Brad Rhine is the developer of Kodiak, a complete student information system written entirely in REALbasic. That's his day job. In his spare time, he writes shareware applications in REALbasic.
Article Description: No description available.
Article Length (in bytes): 10,786
Starting Page Number: 52
Article Number: 7216
Resource File(s):

Download Icon 7216.zip Updated: 2009-01-02 12:22:02

Related Web Link(s):


Excerpt of article text...

Today we begin a new project I'm going to call Graph Paper Maker, but only because I couldn't think of a good name. Recently, my daughter asked me if I had any graph paper, and I thought, "Hey! I could make some! Better yet, I could write a REALbasic application to make some for me! Even better, that sounds like a great idea for my next column!" And so here we are.

This project will span at least two issues of RB Developer. In this issue, we're going to design the interface and get our project to the point where it's producing graph paper in PDF format. To get PDF output, we're going to utilize Fireye Software's most excellent PDF Classes (which I reviewed in a recent issue). The classes will be free for our purposes, so don't worry about incurring any additional expenses in building this one.

Defining The Goal

So what do we want to be able to do with this project? Well, to put it simply, we want to make graph paper. But that graph paper should be customizable, so we'll need to be able to set the row height, column width, and line color. In addition, we should be able to support custom margins. And naturally, our user should be able to save the customized graph paper as a PDF anywhere on the computer.

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