Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Instrukcja Użytkownika Strona 198

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 197
CHAPTER 5
Stationery
5-16 Stationery Summary
newtStationeryPopupButton 5
aStatPopup := { // used to construct New and Show buttons
_proto: newtStationeryPopupButton,
form: symbol, // 'viewDef or 'dataDef
symbols: nil, // gathers all or specify:[uniqueSym,]
text: string, // text displayed in picker
types: [typeSym,…],// type slots of viewDefs
sorter: '|str<|,// sorted alphabetically by Sort function
shortCircuit: Boolean, // controls picker behavior
StatScript: // called when picker item chosen
func(stationeryItem)..., // define actions in this method
SetUpStatArray:// override to intercept picker items to
func()..., // be displayed
}
newtNewStationeryButton 5
aNewButton := { // the New button collects dataDefs
_proto: newtNewStationeryButton,
sorter: '|str<|,// sorted alphabetically by Sort function
shortCircuit: Boolean,// controls picker behavior
StatScript: // called when picker item chosen
func(stationeryItem)..., // define actions in this method
SetUpStatArray:// override to intercept picker items to
func()..., // be displayed
}
newtShowStationeryButton 5
aShowButton := { // the Show button collects viewDefs
_proto: newtShowStationeryButton,
types: [typeSym,…],// can specify type slots of viewDefs
sorter: '|str<|,// sorted alphabetically by Sort function
shortCircuit: Boolean,// controls picker behavior
StatScript: // called when picker item chosen
func(stationeryItem)..., // define actions in this method
SetUpStatArray:// override to intercept picker items to
func()..., // be displayed
}
Przeglądanie stron 197
1 2 ... 193 194 195 196 197 198 199 200 201 202 203 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag