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


ViewUpdateScrollersScript

protoTXView:ViewUpdateScrollersScript(updateMaxVal, scrolled)

Is called to notify you that the scrollers need to be updated.

updateMaxVal
A Boolean value indicating whether you need to update the maximum value of the vertical scroller.

scrolled
A Boolean value indicating whether you need to update the scroller (of both the horizontal and vertical scrollers).

return value
Not used.

The *ViewUpdateScrollersScript method is called when something happens that might affect the the scroll arrows; for example, if more text is added, which causes the maximum height or thumb position to change.

Highlighting Methods

This section describes the methods that you can use to work with the currently highlighted (selected) range of text in your word-processing view.

Note that *protoTXView does not support discontinous highlights.

If there is currently an insertion point, the highlight range has a length of 0.


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