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 9.3


A Document In Tabs

Introducing the tabbed document interface

Issue: 9.3 (March/April 2011)
Author: JC Cruz
Author Bio: JC is a freelance engineering writer from North Vancouver, British Columbia. He frequently contributes articles to MacTech and REALbasic Developer. He also wrote for the now defunct Python Magazine, and is now working on a database e-book. Away from the writing pile, JC spends quality time with his foster nephew, as a proper uncle should. He can be reached at anarakisware-at-gmail-dot-com.
Article Description: No description available.
Article Length (in bytes): 45,565
Starting Page Number: 44
Article Number: 9309
Resource File(s):

Download Icon 9309project.zip Updated: 2011-03-02 12:17:08

Related Web Link(s):


Excerpt of article text...

We return again to face the challenge of designing a document-oriented application. This time, we take a look at the tabbed document interface, made popular by Safari and now a standard fixture of many web browsers. We will study three REALbasic classes with which to create said interface. Later, we will build a basic text editor that makes use of a tabbed interface.

A Pile of Documents

Now some users need to work with multiple data sets at the same time. Often, these sets are of the same type, and thus can be treated in the same way. On the other hand, each set stands as a separate entity. Changes and actions made by a user on one set do not affect the other sets.

Software products that provide this service are said to have a document-oriented design (Figure 1). Each data set is a document, often loaded from an external file. The set that gets the user's immediate attention is the active document. Those that do not are considered inactive. A product feature may affect only the active document, or it may affect all visible documents.

The design paradigm

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