background image
C H A P T E R 7
Controls and Other Protos
7-16
Special View Protos
// initialize with current time
ViewSetupFormScript: func()
begin
time := time();
end,
...};
Special View Protos
7
You can use the protos described in this section to provide special-purpose views in
your applications. There are seven special view protos:
The
protoDragger
creates a view that can be dragged around the screen with
the pen. For more information about the slots and methods for this proto, see
"protoDragger" (page 6-45) in Newton Programmer's Reference. Figure 7-22
shows an example of a
protoDragger
view.
Figure 7-24
A
protoDragger
view
The
protoDragNGo
creates a view that can be dragged around the screen with
the pen. This is identical to
protoDragger
, except that
protoDragNGo
includes a close box in the lower-right corner of the view. For more information
about the slots and methods for this proto, see "protoDragNGo" (page 6-47) in
Newton Programmer's Reference. Figure 7-25 shows an example of a
protoDragNGo
view.
Figure 7-25
A
protoDragNGo
view
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна