Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Uživatelský manuál Strana 282

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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,
...
}
Zobrazit stránku 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 941 942

Komentáře k této Příručce

Žádné komentáře