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 14 in printed book and digital formats -- plus a one-year subscription 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

PDF:

Feature

REALWord: Working with Multiple Documents

A look at the document-centric design and the EditField widget

Issue: 7.6 (September/October 2009)
Author: JC Cruz
Article Description: No description available.
Article Length (in bytes): 33,451
Starting Page Number: 22
RBD Number: 7610
Resource File(s):

Download Icon 7610.zip Updated: Tuesday, September 1, 2009 at 12:59 PM

Related Web Link(s):

http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Documents.html
http://en.wikipedia.org/wiki/Model_view_controller

Known Limitations: None

Excerpt of article text...

Most word processors have the ability to display and manage several documents at a time. So today, we will learn the basics behind a document-centric application. We then examine the EditField widget and adapt it to handle multiple documents. We will use our widget to build a simple text editor. So get yourself a mug of hot brew and read on.

A Quick Primer on Interface Design

Most modern software products interact with their users via a graphical interface. The interface is usually a window frame with one or more widgets. Some widgets serve as controls, allowing users to change certain aspects of the application or to run specific tasks. Some serve as views, accepting from users or displaying data in return (Figure 1).

The design of each window interface often depends on the underlying data. For instance, a utility-oriented design uses a separate window for each unique data set. Each window has a unique set of widgets, and each one handles its data differently. Examples of products that follow this design include calculators, installers, and disk tools.

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

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com