http://www.newton-inc.com/dev/techinfo/qa/qa.htm'default in its symbol slot. To change this behavior at run-time, you will need to override the StatScript method of your newtNewStationeryButton.StatScript method, you will set two slots in your application. The first slot is the preferredViewDef slot in your application's base view. The second is the viewDef slot of the current layout. Both of these slots should be set to the symbol of the viewDef that you want displayed. For instance, you might have the following StatScript:StatScript := func( theStat )
begin
preferredViewDef := 'myNewDefaultStationery;
layout.viewDef:= 'myNewDefaultStationery;
// Make sure we call the inherited method
inherited:?StatScript( theStat );
end;preferredViewDef slot or the layout's viewDef slot at any other time. Doing so could cause your application to not work on future versions of the Newton OS.