background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
Summary
6-41
Summary
6
The following sections summarize the reference information in this chapter.
General Picker Protos
6
protoPopupButton
6
aProtoPopupButton := {
_proto:
protoPopupButton,
viewFlags:
flags
,
viewBounds:
boundsFrame
,
viewJustify:
justificationFlags
,
text:
string
,
// text inside button
popup:
array
,
// items in list
ButtonClickScript:
function
,
// called on button tap
PickActionScript:
function
,
// returns item selected
PickCancelledScript:
function
,
// user cancelled
...
}
protoPopInPlace
6
aProtoPopInPlace := {
_proto:
protoPopInPlace,
viewBounds:
boundsFrame
,
viewFlags:
constant
,
viewJustify:
justificationFlags
,
text:
string
,
// text inside button
popup:
array
,
// items in list
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled
...
}
protoLabelPicker
6
aProtoLabelPicker := {
_proto:
protoLabelPicker,
viewBounds:
boundsFrame
,
viewFont:
fontSpec
,
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна