Apple Newton Utilities Betriebsanweisung Seite 587

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 942
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 586
CHAPTER 15
Filing
Summary 15-21
Filing Protos 15
protoFilingButton 15
myFilingButtonView :=
// do not override ViewClickScript; use ButtonClickScript instead
{ _parent:{ // MyAppBaseView
_parent: {…}, // root view
_proto: {…}, // myAppBaseViewTemplate
…},
_proto: {// myFilingButtonTemplate
// set your own viewBounds in NTK view editor
viewBounds: {left: 10, top: 250,
right: 27, bottom: 263},
_proto: {// protoFilingButton
_proto: {…}, // protoPictureButton
// your ButtonClickScript must call inherited
ButtonClickScript:<function, 0 arg(s) …>,
// your Update must call inherited
Update: <function, 0 arg(s) …>,
// your viewSetupFormScript must call inherited
viewSetupFormScript:<function, 0 arg(s)…>
…},
…},
…}
protoNewFolderTab 15
myNewFolderTabView := {
{_parent: myAppBaseView, // see summary on page 15-20
_proto: { protoNewFolderTab,
// your folder tab’s viewSetupFormScript must
// call this inherited method using conditional send
viewSetupFormScript: <function, 0 arg(s) …>,
…},
// do not alter this slot; set only the text slot
title: {_parent: <2> // myNewFolderTabView,
_proto: {viewClass: clTextView, …},
// string displayed at left of newFolderTab view
text: "My Text",
…},
}
Seitenansicht 586
1 2 ... 582 583 584 585 586 587 588 589 590 591 592 ... 941 942

Kommentare zu diesen Handbüchern

Keine Kommentare