Apple Newton Utilities Guide de l'utilisateur Page 237

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 236
CHAPTER 6
Pickers, Pop-up Views, and Overviews
Specifying the List of Items for a Popup 6-37
The clMonthView view class displays a monthly calendar. Figure 6-47 shows
an example.
Figure 6-47 Example of a month view
Specifying the List of Items for a Popup 6
You specify the item list for protoPicker, protoTextList,
protoPopUpButton, proptoPopupInPlace, and PopUpMenu in
an array. In the simplest case, this is an array of strings, but it can contain
different kinds of items:
simple string A string. You can control the pickability of a text item or add
a mark to the display by specifying the text in a frame, as
described in Table 6-1 (page 6-38).
bitmap A bitmap frame or a NewtonScript frame, as returned from
the
GetPictAsBits compile-time function. You can
control the pickability of the item or add a mark to the
display by placing the bitmap in a frame, as described in
Table 6-1 (page 6-38).
icon with string A frame that species both a string and an icon, as described
in Table 6-2 (page 6-38).
separator line An instruction to display a line that runs the width of the
picker. To display a dashed gray line, specify the symbol
'pickSeparator. For a solid black line, specify the
symbol
'pickSolidSeparator.
two-dimensional grid
A frame describing the grid item, as described in Table 6-3
(page 6-39).
If all the items in the picker list cannot t into the view, the user can scroll the list
to see more items.
Table 6-1 describes the frame used to specify simple string and bitmap items in the
picker list.
Current day
Selected day
Vue de la page 236
1 2 ... 232 233 234 235 236 237 238 239 240 241 242 ... 941 942

Commentaires sur ces manuels

Pas de commentaire