home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!lanl!davids
- From: davids@gardener.lanl.gov (David Simmons)
- Subject: Re: <None>
- Message-ID: <1992Sep9.142332.17785@newshost.lanl.gov>
- Originator: davids@feynman.lanl.gov
- Sender: news@newshost.lanl.gov
- Organization: Los Alamos National Laboratory
- References: <1992Sep8.175152.1@rulfsw.leidenuniv.nl> <t!sn!sn.boserj@netcom.com>
- Date: Wed, 9 Sep 1992 14:23:32 GMT
- Lines: 60
-
-
- In article <t!sn!sn.boserj@netcom.com>, boserj@netcom.com (Jeffrey Boser) writes:
- |> 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
-
- Or, to make things a LOT easier, and less kludgey, use the Multi-Scroll
- XCMD by Rick Dieringer which works GREAT (thanks Rick!).
-
- The question of multiple scrolling fields should probably be in the FAQ
- by now, since I and everybody else has asked it.
-
- Cheers!
- --
-
- David G. Simmons
-
- "Pollution is not the problem with our environment.
- It is the impurities in our air and water."
- --Dan "Vice-President-Rain-Man" Quayl(e)
-
- If I said it, LANL didn't...
-
- --
-
- David G. Simmons
-
- "Pollution is not the problem with our environment.
-