C H A P T E R 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