Apple Newton Utilities Guide de l'utilisateur Page 282

  • 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 281
CHAPTER 7
Controls and Other Protos
7-22 Summary
Button and Box Protos 7
protoTextButton 7
aProtoTextButton := {
_proto: protoTextButton,
viewBounds: boundsFrame,
viewFlags: integer, // viewFlags constants
text: string, // text inside the button
viewFont: fontFlags,
viewFormat: formatFlags,
viewJustify: justificationFlags,
viewTransferMode: integer, // view transfer constants
ButtonClickScript: function, // when button is tapped
ButtonPressedScript: function, // while button is pressed
...
}
protoPictureButton 7
aProtoTextButton := {
_proto: protoPictureButton,
viewBounds: boundsFrame,
viewFlags: integer, // viewFlags constants
icon: bitmap, // bitmap to use for button
viewFormat: formatFlags,
viewJustify: justificationFlags,
ButtonClickScript: function, // when button is tapped
ButtonPressedScript: function, // while button is pressed
...
}
protoInfoButton 7
aProtoInfoButton := {
_proto: protoInfoButton,
viewFlags: integer, // viewFlags constants
viewBounds: boundsFrame,
viewJustify: justificationFlags,
...
}
Vue de la page 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 941 942

Commentaires sur ces manuels

Pas de commentaire