background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
6-2
About Pickers and Pop-up Views
More sophisticated picker protos allow multiple selections and use a close box to
dispatch the view.
With some picker protos, you must determine when and how the picker is displayed.
You open a picker view by sending the
Open
message to the view, or by calling the
PopupMenu
function.
Your picker views can display
simple text
bitmaps
icons with strings
separator lines
two-dimensional grids
The most sophisticated picker protos let you access built-in system soups as well as
your own soups. Much of the behavior of these protos is provided by data
definitions that iterate through soup entries, display a list, allow the user to see and
modify the data, and add new entries to the soup.
Pickers and Pop-up View Compatibility
6
The 2.0 release of Newton system software contains a number of new picker protos
and a replacement for the
DoPopup
global function.
New Pickers and Pop-up Views
6
Two new picker protos,
protoPopupButton
and
protoPopInPlace
, define
text buttons that display pickers.
A new set of map pickers allows you to display various maps from which a user
can select a location and receive information about it. The map pickers include
the following:
protoCountryPicker
protoProvincePicker
protoStatePicker
protoWorldPicker
A set of new text pickers lets you display pop-up views that show text that the
user can change by tapping the string and entering a new string. The
protoDateTextPicker
, for example, lets the user change a date. The text-
picker protos include the following:
protoTextPicker
protoDateTextPicker
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна