Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Uživatelský manuál Strana 276

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 275
CHAPTER 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 Programmers 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 Programmers Reference. Figure 7-25 shows an example of a
protoDragNGo view.
Figure 7-25 A protoDragNGo view
Zobrazit stránku 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 941 942

Komentáře k této Příručce

Žádné komentáře