Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Feature

Sheet Programming

Improve Your Grasp of Asynchronous Design

Issue: 3.1 (September/October 2004)
Author: Charles Yeomans
Author Bio: Charles Yeomans is a software developer in Lexington, Kentucky.
Article Description: No description available.
Article Length (in bytes): 16,363
Starting Page Number: 27
RBD Number: 3112
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

MacOS X introduced the idea of a sheet; a dialog attached to a window that drops down to provide document-modal interaction. Dialogs in prior versions of MacOS were usually application-modal. Sheets allow better modularity in the user interface of an application. However, unlike application-modal dialogs, sheets are not blocking; that is, their appearance does not suspend the execution of application code. This takes some getting used to, and REALbasic doesn't provide a built-in framework for communication involving sheets. In this article, we'll take a look at how that communication should work, and develop a simple framework that allows us to use sheets more effectively.

Dialogs

Recall that a dialog is a window displayed to the user that requires a response. This response may be as simple as acknowledgement ('OK'), or it may require a choice ('Save', 'Cancel', 'Don't Save'). In addition, it may require other information from the user.

Prior to Mac OS X, dialogs were application-modal; that is, they prevented the user from performing any other action in the application, and sometimes other applications as well, until a response to the dialog was given.

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