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

  • 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 282
CHAPTER 7
Controls and Other Protos
Summary 7-23
protoOrientation 7
aProtoOrientation := {
_proto: protoOrientation,
viewFlags: integer, // viewFlags constants
viewBounds: boundsFrame,
viewJustify: justificationFlags,
...
}
protoRadioCluster 7
aProtoRadioCluster := {
_proto: protoRadioCluster,
viewBounds: boundsFrame,
clusterValue: integer, // value of selected button
InitClusterValue: function, // initialize cluster
ViewSetupFormScript: function, // set initial button
ClusterChanged: function, // called upon value change
SetClusterValue: function, // change selected button
...
}
protoRadioButton 7
aProtoRadioButton := {
_proto: protoRadioButton,
viewBounds: boundsFrame,
viewFormat: formatFlags,
text: string, // radio button text label
buttonValue: integer, // identifies button
viewValue: integer, // current value of radio button
...
}
protoPictRadioButton 7
aProtoPictRadioButton := {
_proto: protoPictRadioButton,
viewBounds: boundsFrame,
viewFormat: formatFlags,
viewJustify: justificationFlags,
icon: bitmap, // bitmap for picture button
buttonValue: integer, // identifies button
Zobrazit stránku 282
1 2 ... 278 279 280 281 282 283 284 285 286 287 288 ... 941 942

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

Žádné komentáře