Routing

Summary

Routing starts at the Action button. If the user selects an item below the line, then your route scripts come into play. You have to be especially careful not to override the standard items of duplicate and delete when adding your own items. Other than this, route scripts are a snap.

If the user selects an item above the line, then your routing formats are involved. Each of these formats is registered as a viewDef with the system and is usually provided in its own layout in the application. There are a few other tricks involved, depending on which transport is being implemented. Otherwise, routing is fairly straightforward, as was shown in the Bookstore application.


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

Last modified: 1 DEC 1996