[comp.sys.mac.hypercard] Supercard help - FIND command

ALC@psuvm.psu.edu (04/13/90)

Need a little help here...

I'd like to create a window (either regular or palette) which works like
the Microsoft find dialog box - used to find text in the document. So,
the user would type the find string into this top window and the FIND
command would be executed on an underlying window. I've tried this:

SEND "FIND STRING Whatever" TO WINDOW Bottom

but this only finds the first occurance of the string "Whatever" in window
"Bottom". If I use the button again, the highlight stays at the same
string, even though I know there are more occurances. Typeing the same
string as above into the message box works fine (each new occurance is
highlighted) but when I do the same thing in a window, it doesn't work.
I tried it with the window as a palette but the same thing happens.

I've also tried this approach:

setWindow window Bottom
find string Whatever

which is supposted to tell Supercard to send subsequent system messages
to the window Bottom rather than the top window, but that doesn't work.
The FIND command operates on the top window anyway.

Any ideas?