Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!rutgers!apple!dan From: dan@Apple.COM (Dan Allen) Newsgroups: comp.sys.mac.hypercard Subject: Re: Strange behaviour (dare I say bug) Message-ID: <26782@apple.Apple.COM> Date: 5 Mar 89 06:55:10 GMT References: <633@cf-cm.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 28 In article <633@cf-cm.UUCP> ralph@computing-maths.cardiff.ac.uk (Ralph Martin) writes: >Would anyone ( Dan :-) ) like to comment on whats going on here, and why this >doesnt work as I expected? And would anyone like to tell me how they have >implemented any find next buttons they use? Here is the script of a button that I put at the bottom of the card right behind where the msg box is. After I do a find and want to find the next occurance, I just click off to the side of the msg box, on mouseUp set lockScreen to true go next do msg box if the result is "not found" then go prev else unlock screen with dissolve fast end mouseUp This will not find on the same card more than once. Of course if the msg box changes to something other than the find command then the results are unpredictable. There are times when you want to see each occurance on a card and times when you do not. Find is setup for the former situation, with scripting required for the later. Dan Allen Apple Computer