GetScrollableRect
viewDef:GetScrollableRect()
Called to get a rectangle that describes the scrollable area of the view.
DISCUSSION
- return value
- Return a bounds frame of integers (
top
,left
,bottom
,right
) describing the rectangle enclosing the visible region of the view. Ifnil
is returned, Newton Works removes the scroll bars, and no other scroll methods are required.
Return
nil
from this method if you want to implement scrolling entirely on your own, or if scrolling is not needed.Note that if the scroll bars are displayed and you want to remove them by returning
nil
from this method, you must also call *UpdateAllScrollers
, as follows:
:UpdateAllScrollers(self, true, nil, true, nil);
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help