background image
C H A P T E R 7
Controls and Other Protos
Selection Tab Protos
7-11
Selection Tab Protos
7
You can use the protos described in this section to display alphabetic selection tabs
on the screen. There are two tab protos that you can use:
The
protoAZTabs
displays alphabetical tabs arranged horizontally in a view.
For more information about the slots and methods for this proto, see
"protoAZTabs" (page 6-28) in Newton Programmer's Reference. Figure 7-15
shows an example of a
protoAZTabs
view.
Figure 7-15
A
protoAZTabs
view
The
protoAZVertTabs
displays alphabetical tabs arranged vertically in a
view. For more information about the slots and methods for this proto, see
"protoAZVertTabs" (page 6-29) in Newton Programmer's Reference.
Figure 7-16 shows an example of a
protoAZVertTabs
view.
Figure 7-16
A
protoAZVertTabs
view
When the user taps in either of the tab protos, the proto calls the
PickLetterScript
method, passing in the letter that was tapped. The tabs
protos and the
PickLetterScript
method are described in "Selection Tab
Protos" (page 6-28) in Newton Programmer's Reference.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна