script interruption

David Bovill david at vaudevillecourt.tv
Tue Nov 16 16:01:06 EST 2010


Hi Yves, You could use

if the mouse is "Down"
>

inside the repeat loop - which works pretty well. Or if you need more
control, and the field is locked, you can trap a mouse event say mouseUp and
set a flag that the repeat loop checks?

On 16 November 2010 20:43, Yves COPPE <yvescoppe at skynet.be> wrote:

> Hello list
>
> I have a script
>
> on doStuff
> end doStuff
>
> this script makes a fld appearing on the screen and writes different text
> in this fld in a repeat loop
> I'd like that a click in this fld stops the loop : exit repeat
> I don't find how to proceed
>
> can anyone explain me how ?
> thanks.
>
> Greetings.
>
> Yves COPPE
> yvescoppe at skynet.be
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list