Guide to Creating a Minimal NewtApp
InstallScript := func(partFrame) begin local mainLayout := partFrame.theForm; partFrame.removeFrame := mainLayout:NewtInstallScript(mainLayout); end; RemoveScript := func(partFrame) begin local removeFrame := partFrame.removeFrame; call removeFrame.NewtRemoveScript with (removeFrame); end;23. Save the text file as "Standard NewtApp Install/Remove" and add it to the project (see FIGURE 10.11).
FIGURE 10.11 : Final project files of minimal NewtApp.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996