Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 3 - Word Processing Views / Word Processing View Reference
Protos / protoTXView


Scroll

protoTXView:Scroll(scrollValues)

Scrolls the content of the view vertically and/or horizontally, as defined in scrollValues.

scrollValues
A frame with x and y slots. The content is scrolled by x pixels horizontally and y pixels vertically.

return value
An error code, or nil if the operation worked.

DISCUSSION

For example, to scroll from page 1 to page 2, use the following:

Scroll({x:0, y:pageHt});


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help