Apple Newton Utilities Guia do Utilizador Página 282

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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,
...
}
Vista de página 281
1 2 ... 277 278 279 280 281 282 283 284 285 286 287 ... 941 942

Comentários a estes Manuais

Sem comentários