Apple Newton Utilities Podręcznik Użytkownika Strona 282

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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,
...
}
Przeglądanie stron 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag