Apple Newton Utilities Guide de l'utilisateur Page 244

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
...
}
Vue de la page 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 941 942

Commentaires sur ces manuels

Pas de commentaire