[comp.sys.mac.hypercard] Two example stacks

annie@cs.swarthmore.edu (Annie Fetter) (02/02/90)

Since I had a bunch of requests for both the Inkey XCMD and the multiple
scrolling fields script, I have posted example stacks which use each.

The inkey stack is posted as "Inkey example stack"
The multiple scrolling field stack as "Scrolling fields stack"


The Inkey stack (written long ago, and not looked at since) is the basis for our
office address stack (if I remember correctly).  Inkey is used in the first
card to scroll to the names you want - for example, hit 's', it scrolls to
reveal the 's's.  The XCMD can be extracted with ResCopy or whatever you like.

The multiple scrolling fields is a hack, and not a real slick one.  In fact,
this is a stack I never did finish.  The multiple scrolling could be improved
a bit, but it works.  Basically, I have put two buttons on the up and down 
arrows of the scroll bar of the last field, and their scripts actually scroll
the field.  The problem - only the last field scrolls if the user clicks in 
the gray bar.  I can fix this easily - you just need to put another button over
the grey part and adapt the script a bit.  Try it out.  The exercise is good
for you.  If I ever finish it, I'll post the new-improved version.  This script
isn't anything elegant, and I don't pretend it to be, but it's a reasonable
simple answer to the problem.  If I were to release this sort of thing
commercially or even just more widely than for my own use, I'd rewrite it, but
it works for my purposes.  If you would really like a new and improved version,
sufficient hassling from you net.folk might convince me to do it.

Any questions can be directed to me or posted.

Enjoy!
	-Annie


-- 
 OOO   L    MM   MM   OOO                  *    Annie Fetter, Resident Jock
O   O  L    M M M M  O   O  It's the only  *      Visual Geometry Project
O   O  L    M  M  M  O   O   way to fly!   *      annie@cs.swarthmore.edu
 OOO   LLLL M     M   OOO                  *  ...rutgers!bpa!swatsun!annie