beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 247

background image

C H A P T E R 6

Pickers, Pop-up Views, and Overviews

Summary

6-47

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoRepeatDateDurationTextPicker

6

aProtoRepeatDateDurationTextPicker := {

_proto:

protoRepeatDateDurationTextPicker,

label:

string

,

// picker label

startTime:

integer

,

// initial start date

stopTime:

integer

,

// initial end date

longFormat:

symbol

,

// format to display date

shortFormat:

symbol

,

// format to display date

repeatType:

constant

,

// how often meeting meets

mtgInfo:

constant

,

// repeating meetings

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

, // user cancelled picker

...

}

protoDateNTimeTextPicker

6

aProtoDateNTimeTextPicker := {

_proto:

protoDateNTimeTextPicker,

label:

string

,

// picker label

date:

integer

,

// initial date/time

format:

symbol

,

// format to display time

longFormat:

symbol

,

// format to display date

shortFormat:

symbol

,

// format to display date

increment:

integer

// amount to change time

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoTimeTextPicker

6

aProtoTimeTextPicker := {

_proto:

protoTimeTextPicker,

label:

string

,

// picker label

labelFont:

fontSpec

,

// label display font

entryFont:

fontSpec

,

// picked entry font

indent:

integer

,

// amount to indent text