Apple Newton Utilities Uživatelská příručka Strana 273

  • 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 272
CHAPTER 7
Controls and Other Protos
Gauge and Slider Protos 7-13
The clGaugeView class is used to display objects that look like analog bar
gauges. Although the
clGaugeView class is available, you should use the
protoGauge to display bar gauges. purpose as is the protoGauge proto. For
more information about the slots and methods for the
protoGauge proto, see
“protoGauge” (page 6-35) in Newton Programmers Reference.
Figure 7-20 A clGaugeView view
Implementing a Simple Slider 7
The clGaugeView class and the slider protos all have several slots to dene the
appearance and range of the slider:
The viewBounds slot species the size and location of the slider.
The viewValue slot species the current value of the slider.
The minValue slot species the minimum value of the slider, with a default
value of
0.
The maxValue slot species the maximum value of the slider, with a default
value of
100.
You can specify the initial value of a slider in the
viewValue slot. However, you
often need to look up the initial value; when this is the case, set the initial value of
the slider in the ViewSetupFormScript method.
To implement a slider, dene your template with the proto that you want to use,
specify the appearance and range slots, and (optionally) assign an initial value in
the
ViewSetupFormScript method of the proto. For some protos, you need to
dene additional methods that respond to the user modifying the slider.
The following example is a template that uses
protoSlider to allow adjustment
of the current system volume:
SoundSetter := {...
_proto: protoSlider,
viewBounds: RelBounds( 12, -21, 65, 9),
viewJustify: vjParentBottomV,
maxValue: 4,
ViewSetupFormScript: func()
self.viewValue := GetUserConfig('soundVolume);
Knob
Zobrazit stránku 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 941 942

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

Žádné komentáře

Satel CA-5 P Quick User Guide Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Sicherheit Satel CA-5 P Quick User Guide.
Wir stellen 1 PDF-Handbücher Satel CA-5 P Quick User Guide zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Sicherheit Satel

Modelle Dokumententyp
INT-TSI user manual Bedienungsanleitung   Satel INT-TSI user manual Benutzerhandbuch, 20 Seiten
INT-TSI installer manual Bedienungsanleitung   Satel INT-TSI installer manual Benutzerhandbuch, 34 Seiten
INT-TSG installer manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-TSG installer manual, 20 Seiten
INT-TSI user manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-TSI user manual, 24 Seiten
INT-TSI installer manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-TSI installer manual, 41 Seiten
INT-TSG installer manual Bedienungsanleitung   Satel INT-TSG installer manual Benutzerhandbuch, 20 Seiten
INT-TSG user manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-TSG user manual, 21 Seiten
INT-TSG user manual Bedienungsanleitung   Satel INT-TSG user manual Benutzerhandbuch, 20 Seiten
INT-KSG installer manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-KSG installer manual, 16 Seiten
INT-KSG user manual Bedienungsanleitung   Инструкция по эксплуатации Satel INT-KSG user manual, 13 Seiten
INT-KSG user manual Bedienungsanleitung   Satel INT-KSG user manual Benutzerhandbuch, 12 Seiten
INT-KSG installer manual Bedienungsanleitung   Satel INT-KSG installer manual Benutzerhandbuch, 16 Seiten
INT-KSG user manual Bedienungsanleitung   Satel INT-KSG user manual Manuel d'utilisation, 12 Seiten
INT-KSG installer manual Bedienungsanleitung   Satel INT-KSG installer manual Manuel d'utilisation, 16 Seiten
INT-SF Bedienungsanleitung   Satel INT-SF Benutzerhandbuch, 12 Seiten
INT-S-GR Bedienungsanleitung   Satel INT-S-GR Benutzerhandbuch, 8 Seiten
INT-SF Bedienungsanleitung   Инструкция по эксплуатации Satel INT-SF, 13 Seiten
INT-S-GR Bedienungsanleitung   Инструкция по эксплуатации Satel INT-S-GR, 8 Seiten
INT-SCR-BL Bedienungsanleitung   Satel INT-SCR-BL Manuel d'utilisation, 8 Seiten
INT-SCR-BL Bedienungsanleitung   Satel INT-SCR-BL Benutzerhandbuch, 8 Seiten