http://www.newton-inc.com/dev/techinfo/qa/qa.htmGetRoot().buttons.soft will be non-nil if there is a "soft" button bar, that is, the button bar is located on the drawable screen. GetRoot():LocalBox() returns the rectangle that encloses the screen and the tablet. GetAppParams() returns information about the useful area of the screen, excluding the soft or hard button bar. Used together, this information will allow you to implement any combination of button bar disabling and/or button bar obscuring.KillStdButtonBar. That API is designed for use when you want to actually remove the button bar so you can replace it - probably with a floating slip. It is a fairly expensive call and does a lot of things you don't need if all you want to do is take over the screen. We recommend avoiding that call if possible.) local params := GetAppParams();
if GetRoot().Buttons.soft then
self.viewBounds := OffsetRect(UnionRect(params.appArea, params.buttonBarBounds),
-params.appAreaGlobalLeft, -params.appAreaGlobalTop)
else
self.viewBounds := params.appArea;
appArea and locating the rest of the application within that child.viewSetupFormScript to cover the entire tablet: local params := GetAppParams();
self.viewBounds := GetRoot():LocalBox();
if params.appAreaGlobalLeft then
self.viewBounds := OffsetRect(self.viewBounds, -params.appAreaGlobalLeft, -params.appAreaGlobalTop);