home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!newserver.jvnc.net!newsserver.technet.sg!iti.gov.sg!powhwee
- From: powhwee@ncb.gov.sg (Tan Pow Hwee)
- Subject: Scrolling
- Message-ID: <1993Jan6.125529.29285@iti.gov.sg>
- Sender: news@iti.gov.sg (News Admin)
- Organization: National Computer Board, Singapore
- Date: Wed, 6 Jan 1993 12:55:29 GMT
- Lines: 16
-
- Two questions about scrolling:
-
- 1. I have a subclass of View as the docView in a ScrollView. How do
- I set the amount for scrollView to scroll automatically when user
- moves the scrollers? Specifically I am drawing text on the view and
- I want scrolling to fall on line boundary. I've looked at adjustScroll
- but the documentation (Online stuff) didn't say much.
-
-
- 2. Perhaps related to 1. How do I know where my view is after the user
- scrolled. And how do I know scrolling has occurred?
-
- Thanks.
-
- PS: Don't tell me to use text object instead. :-). I'm working on a
- terminal emulator.
-