home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8001 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.0 KB  |  27 lines

  1. Newsgroups: comp.sys.next.programmer
  2. 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
  3. From: powhwee@ncb.gov.sg (Tan Pow Hwee)
  4. Subject: Scrolling
  5. Message-ID: <1993Jan6.125529.29285@iti.gov.sg>
  6. Sender: news@iti.gov.sg (News Admin)
  7. Organization: National Computer Board, Singapore
  8. Date: Wed, 6 Jan 1993 12:55:29 GMT
  9. Lines: 16
  10.  
  11. Two questions about scrolling:
  12.  
  13. 1.  I have a subclass of View as the docView in a ScrollView.  How do
  14. I set the amount for scrollView to scroll automatically when user
  15. moves the scrollers?  Specifically I am drawing text on the view and
  16. I want scrolling to fall on line boundary.  I've looked at adjustScroll
  17. but the documentation (Online stuff) didn't say much. 
  18.  
  19.  
  20. 2.  Perhaps related to 1.  How do I know where my view is after the user
  21. scrolled.  And how do I know scrolling has occurred?
  22.  
  23. Thanks.
  24.  
  25. PS: Don't tell me to use text object instead. :-).  I'm working on a
  26. terminal emulator.
  27.