home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!resonex!zenon
- From: zenon@resonex.com (Zenon Fortuna)
- Subject: Q: Matrix on ScrollView
- Message-ID: <1992Nov21.190811.13963@resonex.com>
- Organization: Resonex Inc., Sunnyvale CA
- Date: Sat, 21 Nov 1992 19:08:11 GMT
- Lines: 19
-
- I have a Matrix of ButtonCells displayed in a ScrollView.
- To help with scrolling using the mouse, I have added the
- [buttonMatrix setAutoscroll:YES] ;
- message.
- To have scrolling only through whole ButtonCells, I have added also
- [scrollView setLineScroll:64] ;
- // my ButtonCells are 64 units high
- It works OK.
-
- Q: How can I find which cells of the Matrix are visible ?
-
- In other words I would like to know which is the first visible ButtonCell
- and which is the last one.
- I have tried to find the answer in the documentation, but slowly have the
- feeling that I am asking too much ? :-(
-
- I will appreciate any hint and proof that I am wrong.
-
- -Z.
-