Creating and Modifying Templates
1. Make sure the parent is named. Select the template and name it in Template Info (see FIGURE A.23).
2. Open Template Info on the child template, name it, and check Declare To. Select the parent's name in the popup (see FIGURE A.23).
If the child template is large enough, it will indicate its declared status in the layout window as well (see FIGURE A.24). You can declare a child to any ancestor template in its layout--not just its immediate parent. If you forget to name the child, the Declare To checkbox remains dim. If you forget to name the parent, its name won't appear in the popup.
FIGURE A.23 : Declaring a child to a parent.
FIGURE A.24 : A child template declared to its parent.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996