Article View: comp.sys.next.programmer
Article #937Re: how to scroll a view on demand?
From: Ray Spalding
Date: Thu, 10 Sep 1992 21:30
Date: Thu, 10 Sep 1992 21:30
15 lines
965 bytes
965 bytes
In article <1992Sep10.070945.13964@urz.unibas.ch> frank@ifi.unibas.ch writes: >How do I tell the scrollview (per software) to scroll to the top of the view? id clipview; NXPoint pt; pt.x = pt.y = 0; // assumes flipped coordinates (0 at top) clipview = [[scrollview docView] superview]; [clipview rawScroll:&pt]; [scrollview reflectScroll:clipview]; -- Ray Spalding, Office of Information Technology Georgia Institute of Technology, Atlanta Georgia, 30332-0715 Internet: ray.spalding@oit.gatech.edu (NeXT Mail accepted)
Technical Details
Message-ID:
<67974@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!prism!xray.gatech.edu!cc100aaReferences:
<1992Sep10.070945.13964@urz.unibas.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!prism!xray.gatech.edu!cc100aa From: cc100aa@xray.gatech.edu (Ray Spalding) Newsgroups: comp.sys.next.programmer Subject: Re: how to scroll a view on demand? Keywords: scroll, IB Message-ID: <67974@hydra.gatech.EDU> Date: 10 Sep 92 21:30:17 GMT References: <1992Sep10.070945.13964@urz.unibas.ch> Sender: news@prism.gatech.EDU Organization: Georgia Institute of Technology Lines: 15