background image
C H A P T E R 1 7
Additional System Services
17-20
Using Additional System Services
Figure 17-8
Built-in status view configurations
If you want to use a system-supplied template, you can simply define your status
template as
myStatusTemplate := {_proto : protoStatusTemplate};
The definition of
myStatusTemplate
above does not include an
initialSetup
slot, so it is necessary to call the
ViewSet
method to initialize
the view when it is instantiated. (This is discussed in "Opening the Status Slip"
beginning on page 17-23.)
The following status template defines a more complicated, self-animating, custom
barber pole gauge. The
myStatusTemplate
template defined in this example
vStatus
vStatusTitle
vConfirm
vProgress
vGauge
vBarber
icon
statusText
icon
titleText
progress
primary
icon
primary
titleText
primary
closeBox
closeBox
closeBox
closeBox
closeBox
closeBox
statusText
icon
secondary
primary
statusText
statusText
icon
titleText
gauge
primary
statusText
icon
titleText
barber
primary
statusText
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна