🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1881

Q: Matrix on ScrollView

#1881
From: Zenon Fortuna
Date: Sat, 21 Nov 1992 19:08
19 lines
1011 bytes
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.
Technical Details
Message-ID: <1992Nov21.190811.13963@resonex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!resonex!zenon

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!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