home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7362 < prev    next >
Encoding:
Text File  |  1992-11-21  |  983 b   |  29 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!resonex!zenon
  3. From: zenon@resonex.com (Zenon Fortuna)
  4. Subject: Q: Matrix on ScrollView
  5. Message-ID: <1992Nov21.190811.13963@resonex.com>
  6. Organization: Resonex Inc., Sunnyvale CA
  7. Date: Sat, 21 Nov 1992 19:08:11 GMT
  8. Lines: 19
  9.  
  10. I have a Matrix of ButtonCells displayed in a ScrollView.
  11. To help with scrolling using the mouse, I have added the
  12.     [buttonMatrix setAutoscroll:YES] ;
  13. message.
  14. To have scrolling only through whole ButtonCells, I have added also
  15.     [scrollView setLineScroll:64] ;
  16.                 // my ButtonCells are 64 units high
  17. It works OK.
  18.  
  19. Q: How can I find which cells of the Matrix are visible ?
  20.  
  21. In other words I would like to know which is the first visible ButtonCell
  22. and which is the last one.
  23. I have tried to find the answer in the documentation, but slowly have the
  24. feeling that I am asking too much ?    :-(
  25.  
  26. I will appreciate any hint and proof that I am wrong.
  27.  
  28.     -Z.
  29.