Debugging Functions
GetView(template)
GetView('viewFrontMost)
GetView('viewFrontMostApp)
GetView('viewFrontKey)
'viewFrontMost
vApplication
bit set.
'viewFrontMostApp
vApplication
bit set, while skipping views with the vFloating
bit set.
'viewFrontKey
'viewFrontMost
and 'viewFrontMostApp
. It consists of a protoApp
containing a protoFloatNGo
with two protoInputLine
s (see FIGURE 8.8). The viewFlags
of the protoFloatNGo
have been altered to vApplication
, vReadOnly
, and vFloating
(the default is vReadOnly
and vFloating
).
FIGURE 8.8 : An application demonstrating the different uses of GetView()
.
GetView('viewFrontMost)
returns the protoFloatNGo
view.
GetView('viewFrontMostApp)
returns the protoApp
view.
After closing the protoFloatNGo
:
GetView('viewFrontMost)
returns the protoApp
view.
GetView('viewFrontMostApp)
returns the protoApp
view.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996