Apple Newton Utilities User's Guide Page 243

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 242
CHAPTER 6
Pickers, Pop-up Views, and Overviews
Summary 6-43
protoGeneralPopup 6
aProtoGeneralPopup := {
_proto: protoGeneralPopup,
viewBounds: boundsFrame,
viewFlags: constant,
cancelled: Boolean, // true if user cancelled
// pop-up view
context: view, // view with pick scripts
New: // open pop-up view
Affirmative: function, // user taps pop-up view
PickCancelledScript:function, // called in pop-up view
// cancelled
...
}
protoTextList 6
aProtoTextList := {
_proto: protoTextList,
viewBounds: boundsFrame,
viewFont: fontSpec,
viewFormat: formatFlags,
viewLines: integer, // number of lines to show
selection: integer, // index of selected item
selectedItems: arrary, // items in list
listItems: array, // strings or shapes in list
lineHeight: array, // height of lines in list
isShapeList: Boolean, // true if picts instead of text
useMultipleSelections:
Boolean, // true for multiple select
useScroller: Boolean, // true to include scrollers
scrollAmounts: array, // units to scroll
DoScrollScript: function, // scrolls list by offset
ViewSetupFormScript: function, // set up list
ButtonClickScript: function, // returns selected item
...
}
protoTable 6
aProtoTable := {
_proto: protoTable,
viewBounds: boundsFrame,
Page view 242
1 2 ... 238 239 240 241 242 243 244 245 246 247 248 ... 941 942

Comments to this Manuals

No comments