Apple Newton Utilities Guide de l'utilisateur Page 242

  • 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 241
CHAPTER 6
Pickers, Pop-up Views, and Overviews
6-42 Summary
iconSetup: icon frame,
labelCommands: array, // items in list
iconBounds: boundsFrame, // bounds of largest icon
iconIndent: integer, // indent of text from icon
checkCurrentItem: Boolean, // true to check selected item
indent: integer, // indent of picker from label
textIndent: integer, // indent of text
LabelActionScript:function, // returns selected item
TextSetup: function, // gets initial item
TextChanged: function, // called upon item value change
UpdateText: function, // call to change selected item
PickerSetup: function, // called when user taps label
Popit: function, // call to programmatically
// pop up picker
...
}
protoPicker 6
aProtoPicker := {
_proto: protoPicker,
bounds: boundsFrame,
viewBounds: boundsFrame, // ignored
viewFlags: constant,
viewFormat: formatFlags,
viewJustify: justificationFlags,
viewFont: fontSpec,
viewEffect: effectFlag,
pickItems: array, // items in list
pickTextItemHeight:integer, // height reserved for items
pickLeftMargin: integer, // margin from left of view
pickRightMargin: integer, // margin from right of view
pickTopMargin: integer, // margin above each item in
// list
pickAutoClose: Boolean, // true to close list after pick
pickItemsMarkable:Boolean, // true to reserve space for
// check mark before item
pickMarkWidth: integer, // space to reserve for marks
callbackContext: view, // view with pick scripts
PickActionScript: function, // returns selected item
PickCancelledScript:function, // user cancelled
SetItemMark: function, // sets char for check marks
GetItemMark: function, // gets char for check marks
...
}
Vue de la page 241
1 2 ... 237 238 239 240 241 242 243 244 245 246 247 ... 941 942

Commentaires sur ces manuels

Pas de commentaire