background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
6-50
Summary
protoCitiesTextPicker
6
aProtoCitiesTextPicker := {
_proto:
protoCitiesTextPicker,
label:
string
,
// picker label
labelFont:
fontSpec
,
// label display font
entryFont:
fontSpec
,
// picked entry font
indent:
integer
,
// amount to indent text
params:
frame
,
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
...
}
protoLongLatTextPicker
6
aProtoLongLatTextPicker := {
_proto:
protoLongLatTextPicker,
label:
string
,
// picker label
latitude:
integer
,
// initial latitude
longitude:
integer
,
// initial longitude
labelFont:
fontSpec
,
// label display font
entryFont:
fontSpec
,
// picked entry font
indent:
integer
,
// amount to indent text
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
worldClock:
boolean
// do not change
...
}
Date, Time, and Location Pop-up Views
6
protoDatePopup
6
aProtoDatePopup := {
_proto:
protoDatePopup,
New:
function
,
// creates pop-up view
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
...
}
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна