viewSetupFormScript()

Setting the Application Size at Run-time

Another use of the viewSetupFormScript is to provide minimum and maximum sizes for the application base view. For information on that use, see "Set Minimum and Maximum Sizes for an Application" on page 160.

When your application is opened, the first method that is called is your base view's viewSetupFormScript. Therefore, application initialization code is commonly located there.


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

Last modified: 1 DEC 1996