On Wednesday, Oct 6 1999, Jacqueline Landman Gay wrote:
> How do I remove the box that the "find" command puts around found text?
> In HyperCard, I can use "click at <loc>" and the box goes away. In MC,
> it doesn't. Selecting the text of the foundfield from the message box
> appears to remove the box, but does not reliably work from a script.
You can try variations on a theme of:
lock screen
find "abc"
put the foundChunk into tChunk
select char 0 of the foundField
set the backColor of tChunk to the hiliteColor
unlock screen
> Actually, the goal is not so much to remove the box as it is to "reset"
> the find command so that the instance just found will be found again
> immediately. I do not want to get a "not found" result if the word I'm
> searching for is in a field, even if it has been found previously. Is
> there a "reset find" command? Or a way to loop continuously through a
> "find" without stopping?
find empty
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.