Article View: comp.sys.next.programmer
Article #2197Scrolling
From: Tan Pow Hwee
Date: Wed, 06 Jan 1993 12:55
Date: Wed, 06 Jan 1993 12:55
16 lines
1064 bytes
1064 bytes
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.
Technical Details
Message-ID:
<1993Jan6.125529.29285@iti.gov.sg>Path:
arc1-ca.pugleaf.net!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!powhweeShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!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