home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!csus.edu!netcom.com!boserj
- From: boserj@netcom.com (Jeffrey Boser)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: <None>
- Message-ID: <t!sn!sn.boserj@netcom.com>
- Date: 9 Sep 92 02:50:00 GMT
- References: <1992Sep8.175152.1@rulfsw.leidenuniv.nl>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 35
-
- buurt1@rulfsw.leidenuniv.nl (Jasper Kips) writes:
- >This is a question about scrolling fields. For a stack I need 5 or 6
- >fields to scroll simulteanueosly. Is there a way to do this??
- >Let me clarify : if the scroll of 1 scrolling field changes the scroll
- >of the other fields need to change to, prefably at the same time.
-
- After some serious investigation, I hit upon a way of handling some
- basic scrolling of multiple fields.. its clunky, but it seems to
- work.
-
- Firstly make a field that is entirely scrollbar. this is the controller..
- in the font dialog boxes of all the fields you want to scroll, make sure
- you got the same font, same line height, and fix it. also make sure you
- keep the lines in each field the same.. to make sure the fields dong
- get out of alignment.
-
- Make two buttons to cover up the the up and down arrows. make them
- transparent. Use their mousedown scripts to handle scrolling up
- and down in all the fields by a line at a time, using set scroll of..
-
- To handle the scrolling by the thumb and grey page up and down areas,
- let the scroll bar scroll. In the card's IDLE script, check every
- second if the scroll of the scroll bar is the same as one of the
- fields, if different, set the scroll of them all to that of the
- scroll bar.
-
- If you want to disable other scrollings, cover up any extranious scroll
- bars with cover fields..
-
- Hypercard's implementaiton of scrolling is really pathetic.. It should
- have made a scrollbar object to link with a field.. instead of the
- damn field being the scroller too.
-
-
- .....jeff
-