Article View: comp.sys.next.programmer
Article #914how to scroll a view on demand?
From: Robert Frank
Date: Thu, 10 Sep 1992 07:09
Date: Thu, 10 Sep 1992 07:09
27 lines
1727 bytes
1727 bytes
Something simple for the IB-gurus (I'm a beginner):
The setup: I have a scrollview with a view as it's docView. The View's rectagle
is larger than the visible area of the scrollviews docView - making the
vertical scroller visible and functional.
When displaying the window the scroller is at bottom of the bar and I see the
bottom of the view.
How do I tell the scrollview (per software) to scroll to the top of the view?
I've tried the -scrollRect:by: method for views but with no luck. I know how to
place and size the scroller itself but not how to actually scroll the view.
The examples I have looked at all use matrixes as docViews which allow easy
scrolling to any position.
Any help appreciated.
-Robert
--
Robert Frank tel. + (061) 321 99 67
Institut fuer Informatik fax + (061) 321 99 15
University of Basel, Switzerland
Mittlere Strasse 142 rfc822: frank@ifi.unibas.ch (NeXT mail accepted)
CH-4056 Basel X400: S=frank;OU=ifi;O=unibas;P=switch;A=arcom;C=ch
( if all fails try frank@urz.unibas.ch )
Technical Details
Message-ID:
<1992Sep10.070945.13964@urz.unibas.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!nigel.msen.com!yale.edu!ira.uka.de!chx400!urz.unibas.ch!lucy.ifi.unibas.ch!newsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!nigel.msen.com!yale.edu!ira.uka.de!chx400!urz.unibas.ch!lucy.ifi.unibas.ch!news Newsgroups: comp.sys.next.programmer Subject: how to scroll a view on demand? Message-ID: <1992Sep10.070945.13964@urz.unibas.ch> From: frank@ifi.unibas.ch (Robert Frank) Date: Thu, 10 Sep 1992 07:09:45 GMT Reply-To: frank@ifi.unibas.ch Sender: news@urz.unibas.ch (USENET News System) Organization: Institut fuer Informatik Keywords: scroll, IB Nntp-Posting-Host: woodstock.ifi.unibas.ch Lines: 27