[comp.sys.mac] List Manager Queries

sho@tybalt.caltech.edu (Sho Kuwamoto) (01/15/88)

I'm in the process of writing a program, one facet of which consists
of a very simple spreadsheet-like interface.  I have used the list
manager with the standard LDEF with pretty good results so far, but I
have run into some snags.  The main one concerns auto-scrolling.
Since the List Manager already supports auto-scrolling when the
pointer is dragged outside the rView, I figured all I needed to do to
scroll the attached labels would be to install an lClikLoop which
checked the value of the appropriate scroll bar's thumb and scroll the
label if necessary.  It would have been ideal if the lClikLoop were
called immedeately after doing the auto-scroll thing, but as it turns
out, it seems to be called right before, or pretty close to it.  What
happens is that as you scroll down in the document, the labels lag
behind by one cell.  The other problem I've been having is that the
lClikLoop doesn't seem to be called when the user clicks in the scroll
bar associated with the list.  I've tried various kludges starting
from storing the old clickLoop as a function pointer and then
installing a personal clickLoop which first calls the old one, and
then does the personalized stuff.  When that failed, I tried, for
debugging purposes, to just replacing the clickLoop with my own
function hoping that I could get the labels to scroll but not the list
itself.  In both instances, the behaviour is exactly the same as if I
had done nothing.  What now?  I suppose it goes without saying, but
thanks in advance.

						-Sho


 (sho@tybalt.caltech.edu, sho@caltech.bitnet, ...!cit-vax!tybalt!sho)