Apple Newton Utilities User's Guide Page 281

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 280
CHAPTER 7
Controls and Other Protos
Summary 7-21
protoHorizontal2DScroller 7
aProtoHorizontal2DScroller := {
_proto: protoHorizontal2DScroller,
scrollView: viewTemplate,
scrollRect: boundsFrame,// extent of scrollable area
dataRect: boundsFrame,// extent of data in the view
viewRect: boundsFrame,// extent of visible area
xPos: integer, // initial x-coord in scrollRect
yPos: integer, // initial y-coord in scrollRect
scrollAmounts: array, // line, page, dbl-click values
pageThreshhold:integer, // lines before page scrolling
ViewScroll2DScript: function, // called when arrows tapped
ViewScrollDoneScript:function, // called when scroll done
SetArrow: function, // set scroll direction
GetArrow: function, // returns scroll direction
...
}
protoHorizontalUpDownScroller 7
aProtoHorizontalUpDownScroller := {
_proto: protoHorizontalUpDownScroller,
scrollView: viewTemplate,
scrollRect: boundsFrame,// extent of scrollable area
dataRect: boundsFrame,// extent of data in the view
viewRect: boundsFrame,// extent of visible area
xPos: integer, // initial x-coord in scrollRect
yPos: integer, // initial y-coord in scrollRect
scrollAmounts: array, // line, page, dbl-click values
pageThreshhold:integer, // lines before page scrolling
ViewScroll2DScript: function, // called when arrows tapped
ViewScrollDoneScript:function, // called when scroll done
SetArrow: function, // set scroll direction
GetArrow: function, // returns scroll direction
...
}
Page view 280
1 2 ... 276 277 278 279 280 281 282 283 284 285 286 ... 941 942

Comments to this Manuals

No comments