home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.hypercard
- Path: sparky!uunet!mcsun!sun4nl!rulway.LeidenUniv.nl!rulfsw!buurt1
- From: buurt1@rulfsw.leidenuniv.nl (Jasper Kips)
- Subject: Re: Finding field with index
- Message-ID: <1992Sep4.112449.1@rulfsw.leidenuniv.nl>
- Lines: 44
- Sender: news@rulway.LeidenUniv.nl (Usenet news account)
- Nntp-Posting-Host: rulfsw
- Organization: Leiden University Faculty of Social Sciences
- References: <1992Aug31.060028.18430@newsman.csu.murdoch.edu.au> <1992Aug31.221414.26797@pellns.alleg.edu>
- Date: 4 Sep 92 11:24:49 +0100
-
- In article <1992Aug31.221414.26797@pellns.alleg.edu>,
- dblackbu@carr11.alleg.edu (David Blackburn) writes:
- > In article <1992Aug31.060028.18430@newsman.csu.murdoch.edu.au> murdoch,
- > WA, Australia (kywong@csuvax1.murdoch.edu.au(Khoon Yoong Wong)) writes:
- >> I have a problem and need help. My stack has an index card with a locked
- > field
- >> that contains the names of all the cards. The user clicks on a name and
- > it
- >> takes the user to the card requested. My script says:
- >>
- >> on mouseUp
- >> select the clickLine
- >> find the value of the clickLine in bg field "cardName"
- >> end mouseUp
- >>
- >> The problem is this: I have two cards called Hypertext on Scrolling
- > Field and
- >> Scrolling Field separated by many cards in between.
- >> when I click on the second one, it always take me to the first one.
- >> This happens with all the cards that share a common part.
- >> What can I do to solve this?
- >> Many thanks.
- [For bandwith sake reply deleted, but it works fine....]
- > Dave Blackburn, dblackbu@alleg.edu
-
- Well, IF and only IF the cards are in the same order in the index field
- as they are in the stack then the following handler is amazingly quick
- (on my SE it takes about 3 secs to go to the card as opposed to
- sometines 60 or 80 secs; OK I Really shoudn't try to get some 500 cards
- in one stack) but here goes (Oops I Alomost forgot the script asuumes
- that the index card is on a DIFFERENT bg than the cards you're looking
- for and that the cards you're looking for are ALL in one bg)
-
- on mouseup
- visual effect dissolve to black
- visual effect dissolve to card
- go card (item 2 if the clickline) in bg "Data Cards"
- end mouseup
-
- (BTW I'm Typing this from the top of my head (which sits quite
- uncomfortably thank you) but I'm sure it is something like the above
- script)
-
- Success Jasper
-