Examples

Set Minimum and Maximum Sizes for an Application

Make sure you plan for extremely large or very small Newton screens. If your application ran on a one meter by two meter screen (perhaps a Newton embedded into a desktop), you might not want it to take up the entire screen, but max out at some size. If your application was opened on a pager-size Newton, it might need to put up an alert to the user telling them that the screen is too small. We'll create an application which does such testing.

A QuickTime movie of this example is available, as is the completed project for different platforms (Mac OS, Windows 3.1 or Windows 95/NT).

Create a project with a layout file containing a protoApp.

Maximum Size
Minimum Size

An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996