background image
C H A P T E R 7
Controls and Other Protos
Summary
7-25
protoRCheckbox
7
aProtoRCheckbox := {
_proto: protoRCheckbox,
viewBounds:
boundsFrame
,
viewFormat:
formatFlags
,
viewFont:
fontFlags
, // font for text label
text:
string
,
// the checkbox label
indent:
integer
,
// pixels to indent box
buttonValue:
value
,
// value when box is checked
viewValue:
value
,
// current value (nil=unchecked)
ValueChanged:
function
,
// checkbox value changed
ToggleCheck:
function
,
// toggles checkbox state
...
}
Selection Tab Protos
7
protoAZTabs
7
aProtoAZTabs := {
_proto: protoAZTabs,
PickLetterScript:
function
,
// tab is tapped
SetLetter:
function
,
// sets tab letter
...
}
protoAZVertTabs
7
aProtoAZVertTabs := {
_proto: protoAZVertTabs,
PickLetterScript:
function
,
// tab is tapped
SetLetter:
function
,
// sets tab letter
...
}
Gauges and Slider Protos
7
protoSlider
7
aProtoSlider := {
_proto: protoSlider,
viewBounds:
boundsFrame
,
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна