Apple Newton Utilities User's Guide Page 244

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 243
CHAPTER 6
Pickers, Pop-up Views, and Overviews
6-44 Summary
viewFormat: formatFlags,
def: frame, // protoTableDef table
// definition frame
scrollAmount: integer, // number of rows to scroll
currentSelection: string, // text of selected item
selectedCells: array, // selected cell indexes
declareSelf: symbol, // 'tabbase; do not change
ViewSetupFormScript: function, // set up table
SelectThisCell: function, // called when cell is
selected
...
}
protoTableDef 6
aProtoTableDef := {
_proto: protoTableDef,
tabAcross: integer, // number of columns - must be 1
tabDown: integer, // number of rows in table
tabWidths: integer, // width of table
tabHeight: integer, // height of rows
tabProtos: frame, // references to row templates
tabValues: integer/array, // value/array of values for
// rows
tabValueSlot: symbol, // slot to store tabValues in
tabUniqueSelection:Boolean, // true for single selection
indentX: integer, // do not change: used internally
TabSetUp: function, // called before each row set up
...
}
protoTableEntry 6
aProtoTableEntry := {
_proto: protoTableEntry,
viewClass: clTextView,
viewFlags: flags,
viewJustify: justificationFlags,
viewTransferMode: modeOr,
text: string, // text inside table
ViewClickScript: function, // sets current selection
ViewHiliteScript: function, // highlights selection
...
}
Page view 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 941 942

Comments to this Manuals

No comments